我在Slicehost的一片中有一个导轨。 我已经设置了postfix(sendmail)从我的rails应用程序发送电子邮件。
所有发送到Google Apps域的电子邮件(到公司设置谷歌托pipe的付费电子邮件ID)正在正确传递(但垃圾邮件文件夹)。
但所有的电子邮件… @ gmail.com,… @ yahoo.com,.. @ hotmail.com没有得到传递,这是从我的/var/log/mail.log
Dec 21 17:33:56 staging postfix/smtp[32295]: 5EB4810545B: to=<[email protected]>, relay=j.mx.mail.yahoo.com[66.94.237.64]:25, delay=1.6, delays=0.02/0.01/1.5/0, dsn=4.0.0, status=deferred (host j.mx.mail.yahoo.com[66.94.237.64] refused to talk to me: 553 Mail from 173.203.201.186 not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see http://postmaster.yahoo.com/errors/550-bl21.html [550])
这是我得到的Gmail
Dec 21 17:29:17 staging postfix/smtp[32216]: 0FA3310545B: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.65.27]:25, delay=0.59, delays=0.02/0.01/0.09/0.47, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.65.27] said: 550-5.7.1 [173.203.201.186] The IP you're using to send mail is not authorized 550-5.7.1 to send email directly to our servers. Please use the SMTP relay at 550-5.7.1 your service provider instead. Learn more at 550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336 v49si11176750yhc.16 (in reply to end of DATA command))
请帮忙。 我对设置DNS,服务器和东西了解甚less。
您的IP地址(片段)在SpamHaus列入黑名单。
这就是为什么电子邮件不被接受。 我会问slicehost为你提供一个新的IP地址。
HEre是检查黑名单的链接: http ://www.mxtoolbox.com/SuperTool.aspx?action=blacklist%3a173.203.201.186
这里是一篇关于如何从垃圾邮件中删除IP的文章,但要记住删除它的机会是非常困难的。 从您的提供商那里获得一个新的ip更容易。 http://articles.slicehost.com/2010/1/20/removing-a-mail-server-from-the-spamhaus-pbl
希望这可以帮助。
本文可能有所帮助: 从Spamhaus PBL中删除邮件服务器