Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
Email: steven@beepz.com. Homepage: https://www.beepz.com