- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail SMTP problem
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
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
11-19-2001 09:22 PM
11-19-2001 09:22 PM
I am trying to get our L-class with HP-UX 11i to forward mail to our Exchange mail gateway setup as SMTP. But the messages won't go !
I have read the HP online manuals for this and have edited the etc/mail/sendmail.cf file to specify the host name of the mail gateway:
DSmail.krone.com.au
I can both ping and telnet 25 to this gateway ID OK, there is an entry for it in the hosts file.
I have also put the entry Dj$w.krone.com.au in so our domain can be determined. Stopped and started the sendmail service OK.
When I mailx out messages nothing goes and I get:
258 Tue Nov 20 14:01 root
(host map: lookup (krone.com.au): deferred)
robert.milne@krone.com.au
into the mailq.
On trying to resolve the addresses with sendmail using:
/usr/sbin/sendmail -bv -v -oL10 robert.milne@krone.com.au
I get:
robert.milne@krone.com.au... krone.com.au: Name server timeout
robert.milne@krone.com.au... Transient parse error -- message queued for future
delivery
robert.milne@krone.com.au... deliverable: mailer relay, host mail.krone.com.au,
user robert.milne@krone.com.au
I am not sure what the problem is, just editing the sendmail.cf for the same DS entry and putting the gateway into /etc/hosts works on our DEC Alpha Tru64 box, so I cannot see what is different here, any clues would be greatly appreciated !
Thanks.
Rob.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:40 PM
11-19-2001 09:40 PM
Re: sendmail SMTP problem
Have a look at these links.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=3cc6d02a0f66c4af97/screen=ckiDisplayDocument?docId=200000056245768
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x84f3c6af36b7d5118ff10090279cd0f9,00.html
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 10:01 PM
11-19-2001 10:01 PM
Re: sendmail SMTP problem
Check your /etc/nsswitch.conf.
If you are using /etc/hosts for name resolution, your /etc/nsswitch.conf should contain this line:
hosts: files [NOTFOUND=continue] dns
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 08:57 AM
11-20-2001 08:57 AM
SolutionIf you are using /etc/hosts as your only name resolution, make the hosts line read:
hosts: files [NOTFOUND=continue]
Also, if you have an /etc/resolv.conf file, move it elsewhere.
KJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 09:05 AM
11-20-2001 09:05 AM
Re: sendmail SMTP problem
do a nslookup for the exchange server and check it resolves. Do the same on exchange server and check the result
If you face problem in this then it's a dns issue. Check /etc/nsswitch.conf file check for hosts resoultion method. If you have dns then nsswitch should point DNS, and then files for the hosts entry or else files would come first.
Also check resolve.cnf for domain , search nameserver entries are correct.
Correcting all this restart sendmail by
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 09:48 AM
11-20-2001 09:48 AM
Re: sendmail SMTP problem
I don't know your full network topology, but instead of setting DS to:
DSmail.krone.com.au
Just set it to the "real" name of your exchange server:
DSserver
You shouldn't need the FQDN if your DNS is working.
Make sure to stop/start sendmail.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:15 AM
11-20-2001 11:15 AM
Re: sendmail SMTP problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 03:27 PM
11-20-2001 03:27 PM
Re: sendmail SMTP problem
The existence (or rather lack of) of the nsswitch.conf with the entry hosts: files [NOTFOUND=continue] solved the problem. We aren't using DNS for our main servers for name lookup, just the files. As other services didn't require the nsswitch file to function I just assumed sendmail didn't either. Obviously it's a quirk, feature, setting or otherwise that HP's sendmail variant defaults to DNS lookup first, (via a switch setting alluded to by the last response ?).
Anyway thanks for your help and I gave all of the nsswitch file responders 10 !
PS this forum is excellent !
Rob.