"stat=Deferred: d.mx.mail.yahoo.com.: No route to host"
"stat=Deferred: g.mx.mail.yahoo.com.: No route to host
"stat=Deferred: a.mx.mail.yahoo.com.: No route to host
"stat=Deferred: c.mx.mail.yahoo.com.: No route to host
So I thought maybe I had misconfigured DNS, but the I was able to ping for instance, "d.mx.mail.yahoo.com" from the server. Then I remember reading something about have to use a relay server with Godaddy, and it turns out that they block all outgoing port 25 requests. To confirm, I did a:
"telnet d.mx.mail.yahoo.com 25"
and got:
Trying 66.196.82.7...
telnet: connect to address 66.196.82.7: No route to host
telnet: Unable to connect to remote host: No route to host
Apparently you're supposed to use "k2smtpout.secureserver.net" as the relay mail server. How annoying- none of the other dedicated server hosts I'm using require this. In the Godaddy documentation there's no mention on how to setup sendmail to use the "k2smtpout.secureserver.net" relay server. After some research, I figured out that you have to add the following to "/etc/mail/sendmail.mc":
define(`SMART_HOST',`k2smtpout.secureserver.net')dnl
Then do the command:
" m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf"
to rebuild your sendmail configuration, restart sendmail, and voila- you can send mail again. There is a limit of 1000 per day. Since I've had the server online for a couple of weeks, I had a ton of email going out, including a sh*tload of error messages on how sendmail wasn't able to connect, etc. So I asked Godaddy to please temporarily increase my mail limit for a day or two and they refused. Thanks for the great support guys.
Anyways I hope this helps any of you using sendmail and Godaddy (or any other ISP/hosting provider that blocks outgoing port 25) and need to use a special mail relay server.
1 comments:
You wrote, "I got a new Linux dedicated server". Actually, you got a CRIPPLED Linux server. In fact, it's even more crippled than Windows, because you are not allowed to run an e-mail server. So, the IP address of all your outgoing e-mail (passed through THEIR functional e-mail server) will reverse resolve to 'secureserver.com', meaning that about half the sites out there will blacklist all of your mail. It just won't get through, in other words, and you'll never know why the other parties are so silent.
Think about it for a moment... you're paying for a Unix-class server that been made intentionally so crippled that it cannot even handle basic e-mail. Can this "server" run ANYTHING except a very basic web server. Anything at all? Why not just use Geocites -- for FREE?
You really should find a better company to do business with. I ran into the same problem, and they lied to me repeatedly about giving me a "fully functional" web server, but I had to find out the truth (the hard way) after 2 days of work! How many other people are being jerked around? Life is too short for this crap.
Even half-arsed hosting companies give you all the ports, since that's THE WHOLE POINT of having a server, and we're not talking about something obscure here. For the love of God, this is E-MAIL we're talking about.
You are free to use their special system, but you'll bear the consequences of sending mail from "secureserver.com" -- that is for the mail which actually gets delivered -- due to the horrible spam reputation of mail from 'secureserver.com'.
Post a Comment