这是我们的通知邮件的一个的电子邮件标题通过SMTP发送:反向DNS不能正常工作:从mail.example.org收到(未知[1.2.3.4.6])
收到:来自mgi74201.gutt.it(mgi74201.gutt.it。[5.9.63.186])由 mx.google.com与ESMTP id ABCD1234; 2012年8月8日(星期三) 09:36:18 -0700(PDT)收到:来自mgi74201.gutt.it(未知 [5.9.63.186])(经过身份验证的发件人:[email protected])作者: mgi74201.gutt.it (Postfix),带有ESMTPA ID ABCD1234,用于 < * @ gmail.com>;星期三,2012年8月8日十八点35分55秒+0200(CEST)
正如你可以看到谷歌能够检查PTR:5.9.63.186(导致mgi74201.gutt.it),而是我们自己的邮件客户端结果“未知”。
我们测试nslookup 5.9.63.186
和它的结果如预期:
使用用户名 “ABC”。使用公钥“abc”进行身份验证Last login:Wed Aug 8 19:31:01 2012 from 123.abc root @ mgi74201:〜# nslookup 5.9.63.186服务器:8.8.4.4地址:
8.8.4.4#53非 - 权威答案: 186.63.9.5.in-addr.arpa name = mgi74201.gutt.it。权威答案可以从以下网址找到:abc @ mgi74201:〜#
那么为什么反向DNS不起作用?后缀相关的问题?
编辑:后缀结果:
年08月09 17时00分59秒mgi74201后缀/ smtpd的[19261]:警告:5.9.63.186:未列出的主机名 地址mgi74201.gutt.it 17年8月9日:00:59 mgi74201后缀/ smtpd的[19261]:未知[5.9.63.186]
但hosts文件连接似乎是正确的:
# 'hosts' file configuration.
::ffff:5.9.63.186 mgi74201.gutt.it mgi74201
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.0.1 localhost.localdomain localhost mgi74201.gutt.it.local
# Auto-generated hostname. Please do not remove this comment.
5.9.63.186 mgi74201.gutt.it mgi74201
是的你是对的。问题是IPv6。由于主机文件是通过控制面板自动生成的,无法编辑,因此我们决定暂时停用IPv6,直到找到更好的解决方案。 – mgutt 2012-08-12 17:24:33