我刚刚在ubuntu14.04LTS上安装了sendmail,并配置了一个新域。不知怎么的,我一定是监督了一个配置问题,因为google邮件拒绝了这条消息。查看返回消息,它告诉我如下:
The original message was received at Tue, 27 Oct 2015 11:59:18 +0100
from staging.www.de.mydomain.com [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<andy@findix.com>
(reason: 550-5.7.1 [2a01:4f8:212:27c8::2] Our system has detected that this message does)
----- Transcript of session follows -----
... while talking to aspmx.l.google.com.:
>>> DATA
<<< 550-5.7.1 [2a01:4f8:212:27c8::2] Our system has detected that this message does
<<< 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and
<<< 550-5.7.1 authentication. Please review
<<< 550-5.7.1 https://support.google.com/mail/?p=ipv6_authentication_error for more
<<< 550 5.7.1 information. y6si29358320wiv.50 - gsmtp
554 5.0.0 Service unavailable我配置了mx记录,但是为什么消息声明它是从127.0.0.1接收的呢?
mail.log有以下条目:
Oct 27 12:49:27 staging sendmail[24866]: t9RBnRJo024866: from=andy, size=72, class=0, nrcpts=1, msgid=<201510271149.t9RBnRJo024866@staging.www.de.mydomain.com>, relay=andy@localhost
Oct 27 12:49:27 staging sendmail[24866]: t9RBnRJo024866: to=myname@gmail.com, ctladdr=andy (1000/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30072, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]任何帮助都是非常感谢的。
发布于 2015-10-27 11:52:49
看起来您没有适合您的IPv6地址的指针记录。
这是您的服务提供商控制IP必须添加到他们的DNS记录的东西。
记录需要匹配邮件服务器的名称。
您可以看到127.0.0.1地址,因为邮件是在您的邮件服务器上生成的-因此它确实来自本地主机。那部分完全正常。
https://serverfault.com/questions/731915
复制相似问题