Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-17-2010, 04:00 AM
|
#1
|
LQ Newbie
Registered: Feb 2010
Posts: 3
Rep:
|
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
Sendmail info:
Version 8.13.1
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
|
|
|
02-17-2010, 09:14 AM
|
#2
|
Member
Registered: Feb 2007
Posts: 55
Rep:
|
Can you resolve g.mx.mail.yahoo.com from your dns server ?
|
|
|
02-18-2010, 04:13 AM
|
#3
|
LQ Newbie
Registered: Feb 2010
Posts: 3
Original Poster
Rep:
|
Yes i can.
Non-authoritative answer:
Name: g.mx.mail.yahoo.com
Address: 98.137.54.238
I also tried adding the yahoo mx records to the mailertable, also no luck.
|
|
|
02-18-2010, 12:59 PM
|
#4
|
Member
Registered: Feb 2007
Posts: 55
Rep:
|
Create a test session
sendmail -v abc@yahoo.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
|
|
|
02-22-2010, 06:01 AM
|
#5
|
LQ Newbie
Registered: Feb 2010
Posts: 3
Original Poster
Rep:
|
created a test session same outcome.
[/etc/nsswitch.conf]
passwd: files
shadow: files
group: files
hosts: dns files
bootparams: files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: files
automount: files
aliases: files
[/etc/resolv.conf]
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.
|
|
|
04-11-2011, 09:54 PM
|
#6
|
LQ Newbie
Registered: Apr 2011
Posts: 1
Rep:
|
Have you found the solution?
Hi,
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 03:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|