- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail: host name lookup failure
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
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
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
тАО07-18-2000 06:37 AM
тАО07-18-2000 06:37 AM
. to users on local host
. to users on another host (MicroSoft Exchange, I am afraid)
My host is NOT using DNS, DHCP, or any other fancy lookups, just /etc/hosts
I can 'ping' the mail server (it is in /etc/hosts)
I can also telnet to port 25 on the Exchange server
I have looked at the following files, and I think the contents is correct
/etc/nsswitch.conf
hosts: files
/etc/resolve.conf
domain kymata.com
/etc/mail/service.switch
hosts files
aliases files
I have stayed away from setting DS in sendmail.cf, because I think that might send all mail (also to user@localhost) to the Smart Host? (and then I need a sendmail daemon to receive it again...)
I seem to remember (but my memory is vague and my notes illegible... it's my age) that sendmail does not by default use /etc/hosts to resolve hostnames and that I need to create a file /etc/netsvc.* with the contents host=local
Can someone point me in the right direction, please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:43 AM
тАО07-18-2000 06:43 AM
Solutioncheck your /etc/mail/sendmail.cw - it should only list your localhost. if it lists your domain, then sendmail will fail... if you have your sendmail.cw properly setup, should be able to modify the DS directive to point to the exchange server... it willonly relay if the mail cannot be delivered locally (as specified in your /etc/mail/sendmail.cw)
Good luckk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:48 AM
тАО07-18-2000 06:48 AM
Re: sendmail: host name lookup failure
Install sendmail 8.9.3., recopy /usr/newconfig/etc/nsswitch.conf to /etc and modify accordingly.
Cross check you /etc/mail/sendmail.cf file.
Restart sendmail - (/sbin/init.d/sendmail stop/start)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 09:03 AM
тАО07-18-2000 09:03 AM
Re: sendmail: host name lookup failure
# See if we are supposed to deliver to hosts in the local domain
R$* < @ $* > $* $: $>check_local < $m > $1 < @ $2 > $3 Local Domain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 09:06 AM
тАО07-18-2000 09:06 AM
Re: sendmail: host name lookup failure
# hostname
# nslookup IP_of_local_box
The above two should match.
# nslookup hostname_of_exchange_server
This should display the correct IP of the server that you will be relaying to.
Also, as mentioned earlier, if you are not using DNS, then you should move /etc/resolv.conf out of the way. You could save it as /etc/resolv.conf.old or something such as this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2000 07:37 AM
тАО07-20-2000 07:37 AM
Re: sendmail: host name lookup failure
##### @(#)smtp.m4 8.33 (Berkeley) 7/9/96 #####
#CHANGED PUT 0 in front of each F= statement
Msmtp, P=[IPC], F=0mDFMuX, S=11/31, R=21, E=rn, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=0mDFMuXa, S=11/31, R=21, E=rn, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=0mDFMuX8, S=11/31, R=21, E=rn, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=0mDFMuXa8, S=11/31, R=61, E=rn, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h