1828975 Members
2152 Online
109986 Solutions
New Discussion

Sendmail DNS

 
robert sears_1
Contributor

Sendmail DNS

Good morning,
I have recently upgraded my sendmail to a newer version. I have compiled my sendmail.cf and all the other required binaries. When I send a test email to the outside world I have no problems. When I send to my self sendmail looks up the alias file, finds my name but returns a DNS lookup failure. I have no problem with resolving ip's and names from any other apps. Host files, nsswitch.conf and resolv.conf files all seem ok. Is my problem in the sendmail.cf file?
Below is the test:

# /usr/lib/sendmail -v -t
to: sears
test
test
sears... aliased to sears@charon.nlmoc.navy.mil
sears@charon.nlmoc.navy.mil... Deferred: Name server: charon.nlmoc.navy.mil.: host name lookup failure

charon is my firewall

thanks
Sears
1 REPLY 1
Steven Sim Kok Leong
Honored Contributor

Re: Sendmail DNS

Hi,

Have you also checked the MX record points to the correct domain in the DNS?

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com