Question : Sendmail mailhost not resolved

Hi Guys,

We have sendmail 8.12.10 running on solaris 9.

This server is on our LAN with no access to the internet.

I've been unable to send mail from this server to other servers within the LAN.

mailhost resolves 100% to the correct IP when using nslookup.

I can also telnet to mailhost on port 25 from the broken Solaris server.

Inside sendmail.cf and subsidiary.cf I've changed DSmailhost to DS10.10.10.4 (which is our mailhost as well as secondary DNS server).

This doesn't work either.

The other Solaris 9 servers don't have this problem

From /var/log/syslog, I noticed a few differences in the values between the broken server and a working server:
to=
ctladdr=
relay=
dsn=
(Please see Code snippet).

What else can I check?

Thank you.
Code Snippet:
1:
2:
3:
4:
5:
6:
/var/log/syslog 
BROKEN SERVER (sol42):
Mar  4 15:29:59 sol42 sendmail[18166]: [ID 801593 mail.info] n24DLSAB018049: [email protected],   ctladdr=root 			 (0/1), delay=00:08:31, xdelay=00:01:10, mailer=relay, pri=210090, relay=mailhost, 	        dsn=4.0.0, stat=Deferred: Name server: mailhost: host name lookup failure
 
WORKING SERVER (sol43):
Mar  4 15:11:37 sol43 sendmail[21082]: [ID 801593 mail.info] n24DBb6n021080: to=, ctladdr= (0/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120392, relay=mailhost [10.10.10.4], dsn=2.0.0, stat=Sent (PAA28776 Message accepted for delivery)
Open in New Window Select All

Answer : Sendmail mailhost not resolved

Have you compared the resolv.conf  and nsswitch.conf  with the files on the working servers?

also do an nslookup mailhost on the working servers and the broken one and see if there is a difference.

Post the results here.

Good Luck!
Random Solutions  
 
programming4us programming4us