- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with Sendmail
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
09-05-2007 05:39 AM
09-05-2007 05:39 AM
Problem with Sendmail
I am having problems sending email using the bundled sendmail server that came with our 11.11 system. The mail.log file has the following entries:
Sep 5 13:35:24 cosmos2 sendmail[4791]: NAA04789: to=ahkaplan@partners.org, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, relay=p
artners.org, stat=Host unknown (Name server: partners.org: host not found)
Sep 5 13:35:24 cosmos2 sendmail[4791]: NAA04789: NAA04791: DSN: Host unknown (Name server: partners.org: host not found)
What file(s) and/or actions do I need to take to correct this? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 05:45 AM
09-05-2007 05:45 AM
Re: Problem with Sendmail
Sendmail is unable to resolve the mail host for partners.org. You need to ensure the system is able to resolve that by updating /etc/resolv.conf, then run "nslookup partners.org"
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 06:04 AM
09-05-2007 06:04 AM
Re: Problem with Sendmail
This is most likely do to a failure to resolve the host partners.org
Try this:
nslookup partners.org
I bet you don't get an answer.
It could be their DNS server is not providing the answer. It could be your /etc/resolv.conf configuration is pointing to a DNS server that is malfunctioning or not providing the answer.
If it is there problem, it will probably go away when their syadmin's notice the problem.
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
09-05-2007 06:13 AM
09-05-2007 06:13 AM
Re: Problem with Sendmail
I thought of something: The nsswitch.conf file has the following syntax:
hosts: nis [NOTFOUND=continue UNAVAIL=continue] files [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
There is no entry for DNS. I checked the nsswitch.conf file on another hpux server that does not have this problem. Here is the syntax of the same file on the 'working' server:
hosts: files [NOTFOUND=continue UNAVAIL=continue] nis [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
netgroup: files [NOTFOUND=continue UNAVAIL=continue] nis
Can I simply add the missing reference to DNS to the first server's nsswitch file, or are there additional steps that I need to take? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 06:17 AM
09-05-2007 06:17 AM
Re: Problem with Sendmail
At a minimum you need dns on the list for hostname resolution.
good observation.
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
09-05-2007 06:34 AM
09-05-2007 06:34 AM
Re: Problem with Sendmail
I added the dns entry to the nsswich.conf file so it now reads as follows:
hosts: nis [NOTFOUND=continue UNAVAIL=continue] files [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
How can I make the changes go into effect? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 06:39 AM
09-05-2007 06:39 AM
Re: Problem with Sendmail
:wq!
As soon as you save and exit /etc/nsswitch.conf, it's active.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html