- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sending mail through NT mail server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 03:32 PM
02-07-2004 03:32 PM
Sending mail through NT mail server
Please let me know (detailed) what are the required steps on both servers .
Urgent Urgent please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 03:42 PM
02-07-2004 03:42 PM
Re: Sending mail through NT mail server
Edit the sendmail.cf file probably in /etc or /etc/mail
search for DS directive
DS
Change to
DS
[hostname of nt server]
or DS
[ip address of nt server]
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
done
make sure the NT mail server allows relay from the IP address or hostname of the HP-UX box.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 07:40 PM
02-07-2004 07:40 PM
Re: Sending mail through NT mail server
But i am getting an error like the following:
/etc/mail/sendmail.cf: line 106: unknown control line "mailserver"
That is after updating the DS to DSmailserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 09:08 PM
02-07-2004 09:08 PM
Re: Sending mail through NT mail server
You might get this if there are DNS problems or DNS is not properly configured on the HP box.
/etc/resolv.conf and make sure you can ping.
10.20 is old and you might need a newer sendmail.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 07:35 AM
02-08-2004 07:35 AM
Re: Sending mail through NT mail server
Puting the IP addres of the mailserver in the /etc/hosts file will probable also do the trick for you.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 03:37 PM
02-08-2004 03:37 PM
Re: Sending mail through NT mail server
in most case I have seen the unix boxes is on a domain seperate form your own id.
say your desktop email address is
myuser@company.com
and your unix box sits in a domain say
backend.mycompany.org
then you want mail sent from this unix box to masqurade as a user (this only works for regular users and not root).
modify the DM setting and add your company.com domain name in.
say the dba's want to send a page to their pager from the unix box, but the NT server(mial sever) does not allow any other domain(boxes) to route mail through it, then this is how to fix it.
enjoy.
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 04:11 PM
02-08-2004 04:11 PM
Re: Sending mail through NT mail server
Feb 9 09:04:51 ccbs01 sendmail[25079]: JAA25079: to=abdullatif.abdulla@thuraya.com, delay=00:00:00, mailer=relay, stat=
queued.
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 05:44 PM
02-08-2004 05:44 PM
Re: Sending mail through NT mail server
Just give it a fake IP address will most times do the trick.
Sendmail on HP-UX likes to resolve the domain that its sending mail to.
Add next in /etc/hosts:
1.1.1.1 thuraya.com
Or make thuraya.com resolved by DNS server and your DNS configuration setup correctly on the HP-UX system.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2004 05:54 PM
02-08-2004 05:54 PM
Re: Sending mail through NT mail server
sendmail -v -d8.99 -d 38.99 someone@aol.com
type some text
.
This will get you definitive diagnostics.
You did set up the NT box for relay, did you not?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 05:53 PM
02-10-2004 05:53 PM
Re: Sending mail through NT mail server
/usr/sbin/sendmail -v -d8.99 -d38.99 abdullatif.abdulla@thuraya.com > mytest
testnig 123
.
t1:/etc/rc.config.d> cat mytest
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
getcanonname(thuraya.com), trying files
text_getcanonname(thuraya.com)
getcanonname(thuraya.com), trying dns
dns_getcanonname(thuraya.com, trymx=1)
dns_getcanonname: trying thuraya.com. (ANY)
NO: errno=239, h_errno=2
getcanonname(thuraya.com), failed, stat=75
abdullatif.abdulla@thuraya.com... thuraya.com: Name server timeout
abdullatif.abdulla@thuraya.com... Transient parse error -- message queued for future delivery
abdullatif.abdulla@thuraya.com... queued
t1:/etc/rc.config.d>
Thanks for the help you are offering....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 06:49 PM
02-10-2004 06:49 PM
Re: Sending mail through NT mail server
abdullatif.abdulla@thuraya.com... thuraya.com: Name server timeout
abdullatif.abdulla@thuraya.com... Transient parse error -- message queued for
It can not resolve the domain name.
As I suggested before, put thuraya.com in your /etc/hosts file(may have a fake IP) or fix the name-resolving to the DNS server.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 06:59 PM
02-10-2004 06:59 PM
Re: Sending mail through NT mail server
The best way is to get the DNS servers in /etc/resolv.conf to work.
The next best way if the mail is internal is to use /etc/hosts
Not that i need them Sir, but perhaps my colleagues could get points for their efforts to help you.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 07:54 PM
02-10-2004 07:54 PM
Re: Sending mail through NT mail server
192.192.10.10 thuraya.com as a fake IP then
got the following error and the mail is not sent. what is host name lookup failure?
t1:/etc/rc.config.d> cat mytest
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
getcanonname(thuraya.com), trying files
text_getcanonname(thuraya.com)
getcanonname(thuraya.com), found
getmxrr(mailserver, droplocalhost=1)
getmxrr: res_search(mailserver) failed (errno=239, h_errno=2)
abdullatif.abdulla@thuraya.com... Deferred: Name server: mailserver: host name lookup failure
t1:/etc/rc.config.d>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 07:57 PM
02-10-2004 07:57 PM
Re: Sending mail through NT mail server
Be sure that it is resolved by DNS or put it also in the /etc/hosts file, or put the IP-address in the sendmail.cf file DS
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 08:32 PM
02-10-2004 08:32 PM
Re: Sending mail through NT mail server
t1:/sbin/init.d> /sbin/init.d/sendmail stop
/sbin/init.d/sendmail[114]: Syntax error at line 1 : `(' is not expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 08:42 PM
02-10-2004 08:42 PM
Re: Sending mail through NT mail server
(from line 111 - 115)
'stop')
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
-leading spaces are deleted by the Forum.
Did you change the start/stop script, or is the error comming from teh file that it's trying to source: /etc/rc.config, did you change this one manual?
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 08:49 PM
02-10-2004 08:49 PM
Re: Sending mail through NT mail server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 09:19 PM
02-10-2004 09:19 PM
Re: Sending mail through NT mail server
The mail started and i found the q is empty now. and the mail.log shows stat=send.
But the error is still for the stop and start the sendmail .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 09:28 PM
02-10-2004 09:28 PM
Re: Sending mail through NT mail server
If you want to solve the stop-script problem you should check the files in the /etc/rc.config.d directory, because they are sourced by the /etc/rc.config
See if you changed files recent in this directory.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 04:14 PM
02-13-2004 04:14 PM
Re: Sending mail through NT mail server
usr/sbin/sendmail -v -d8.99 -d38.99 abdullatif.abdulla@thuraya.com > mytest
testnig 123
.
you will end up with the following error when ever you run /sbin/init.d/sendmail stop command:
/sbin/init.d/sendmail[108]: Syntax error at line 1 : `(' is not expected.
When I deleted the file mytest from the rc.config.d directory the start and stop command were succesfull.So take care dont create any thing under this directory.
Thanks for all your help