显然我的SMTPD问候语是错误的

今天使用几个不同的“DNS健康testing”,我有两个报告,SMTPD问候是错误的/错误configuration。

例如,在http://www.dnsqueries.com上的testing说我没有通过这个特定的testing,然后跟着:

垃圾邮件识别软件和RFC821 4.3(也是RFC2821 4.3.1)规定SMTP问候语中给出的主机名必须有一个Alogging指向同一个服务器。

我正在运行Bind作为ns1.smoothstoneservices.com和ns2.smoothstoneservices.com的名称服务器,邮件服务器正在运行Postfix。

操作系统是CentOS。

查看/etc/postfix/main.cf中的smtpd_banner指令,将其设置为:mail.smoothstoneservices.com

DNS包括“mail.smoothstoneservices.com”(smtpd问候语)以及myers.smoothstoneservices.com(主机名)的logging。

这里是我的区域文件的内容:

$TTL 1H @ IN SOA ns1.smoothstoneservices.com. admin.smoothstoneservices.com. ( 2012021115; serial 1800 ; refresh 400 ; retry 1209600; expire 3600 ; Minimum ) IN NS ns1.smoothstoneservices.com. IN NS ns2.smoothstoneservices.com. @ IN MX 0 mail.smoothstoneservices.com. @ IN A 69.164.221.183 @ IN TXT "v=spf1 a mx ip4:69.164.221.183 -all" localhost IN A 127.0.0.1 myers IN A 69.164.221.183 ns1 IN A 69.164.221.183 ns2 IN A 66.228.59.103 mail IN A 69.164.221.183 {Some info snipped that you don't need to know} 

在MX和邮件服务器健康的http://mxtoolbox.comtesting表明一切正常。

但由于我看到两个单独的“DNS健康”testing/网站类似的“错误”,我怀疑我可能会错过一些东西。

我很困惑。 你有什么问题吗? 你怎么看?

好吧,现在谈谈你的SMTP问候

  • 如果您从69.164.221.183发送OUTgoing邮件
  • 如果你EHLO作为mail.smoothstoneservices.com

你可能会遇到一些严格的迂腐完美主义者的麻烦,因为正式的,69.164.221.183,在EHLO命名为mail.smoothstoneservices.com,我们将看到

 Quering 8.8.4.4 for {183.221.164.69.in-addr.arpa.,PTR} ... Answers for 183.221.164.69.in-addr.arpa.: -> [PTR] myers.smoothstoneservices.com. 

和mail.smoothstoneservices.com!= myers.smoothstoneservices.com,你不能改变你的域名区域,它必须由221.164.69.in-addr.arpa区域的维护者

奇怪 – 我刚刚在http://www.dnsqueries.com/为您testing过smtptesting,而且我已经清楚了。

 Connection Test I was able to connect on port 25 to mail.smoothstoneservices.com HostName in Greeting The hostname in the greeting message is mail.smoothstoneservices.com Accepts Null <> Sender The SMTP server is accepting NULL <> Sender Accepts Mail to Postmaster The SMTP server is accepting mails to [email protected]. This is a good thing, as this addres is used to send out system communications Accepts Mail to Abuse The SMTP server is accepting mails to [email protected]. This is a good thing, as this address is used to send out abuse communications Accepts Mail to domain literals The SMTP server is accepting mails to postmaster@[IP_ADDRESS]. This is a good thing, as this address is used by people that don't know your domain name! Is Open Relay I have tried to send out email through the SMTP server and i wasn't able. This is a good thing, as it seems that your server isn't an open relay. 

另外我刚刚telnet到端口25 69.164.221.183,并得到了220 mail.smoothstoneservices.com

我想知道是否以前有错误,当你检查时,你现在得到一个caching的结果。

编辑:即使是陌生人 – 我刚刚检查www.dnsqueries.comtesting设置,其中Alogging不符合在SMTP问候中指定的主机名称,它很高兴。