Sendmail: sending emails to Yahoo problem
I've had this really strange problem that I've been scratching my head for a couple of weeks.
Whenever I send an email to yahoo with sendmail I get this error:
"Deferred: Name server: g.mx.mail.yahoo.com.: host name lookup failure"
My BIND DNS is setup correctly, emails sent to any other domain are working, just yahoo isn't working. I can use telnet from my server to send to yahoo and it works, only through sendmail it doesn't work, I also have mailscanner installed, the server is Centos 4.4
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
Can you resolve g.mx.mail.yahoo.com from your dns server ?
Yes i can.
I also tried adding the yahoo mx records to the mailertable, also no luck.
Create a test session
sendmail -v email@example.com < mailfile (file containing FROm, TO, Subject empty line and then body)
Have you setup your dns server in /etc/resolv.conf, try by manually adding IPs in /etc/hosts. Is your /etc/nsswitch.conf properly setup. Please post it
created a test session same outcome.
hosts: dns files
i have 3 dns servers 1 local and 2 ISP, they are both working correctly.
Adding entries to etc hosts does not effect anything.
I removed sendmail completely and reinstalled from source code. but I kept the same config files, and yahoo is still not resolving.
It appears one of the options in the config files is the problem. I'm going to comment out the options line by line and see where the problem is.
I also set up another email server with the same IP and sent to yahoo with success, I used a windows box with hMailServer-5.3.2. So it seems the problem is with sendmail or one of the servers files.
I will post my updates as they happen.
Have you found the solution?
I have a similar situation here. I am wondering if you have found the solution and would like to share it?
|All times are GMT -5. The time now is 08:18 AM.|