我收到很多被退回的邮件。退回邮件内容如下:
如果没有 DNS PTR 记录,我们就无法接受来自 IP 213.42.234.186 的电子邮件。请联系您的 ISP/HSP 为您的服务器设置 PTR 记录。
我已经确认我们的邮件服务器 (mail.royalgroup.ae) 被列为该 IP 的 PTR 记录。我不明白为什么我们的防火墙的 IP 地址 (.186) 被列在退回邮件中。
我已将整个退回邮件及其标题包含在下方。
-------------------------------------------------------------------------- MDaemon Delivery Status Notification - http://www.altn.com/dsn/
--------------------------------------------------------------------------
The attached message had PERMANENT fatal delivery errors.
After one or more unsuccessful delivery attempts the attached message has been removed from the MDaemon mail queue on this server. The number and frequency of delivery attempts are determined by local configuration.
-------------------------------------------------------------------------- YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS
--------------------------------------------------------------------------
Failed address: [email protected]
--- Session Transcript --- Tue 2013-04-23 08:27:00: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd35000094660.msg> Tue 2013-04-23 08:27:00:
* From: [email protected] Tue 2013-04-23 08:27:00: * To: [email protected] Tue 2013-04-23 08:27:00: * Subject: a Tue 2013-04-23 08:27:00: * Size (bytes): 32512 Tue 2013-04-23 08:27:00:
* Message-ID: <002d01ce3fdb$53e0eb40$fba2c1c0$@ae> Tue 2013-04-23 08:27:00: Attempting SMTP connection to [mail.ru] Tue 2013-04-23 08:27:00: Resolving MX records for [mail.ru] (DNS Server:
213.42.20.20)... Tue 2013-04-23 08:27:00: * P=010 S=000 D=mail.ru TTL=(8) MX=[mxs.mail.ru] {94.100.176.20} Tue 2013-04-23 08:27:00: Attempting SMTP connection to [94.100.176.20:25] Tue 2013-04-23 08:27:00: Waiting for socket connection... Tue 2013-04-23 08:27:00: * Connection established (127.0.0.1:3187 -> 94.100.176.20:25) Tue 2013-04-23 08:27:00: Waiting for protocol to start... Tue 2013-04-23 08:27:01: <-- 220 Mail.Ru ESMTP Tue 2013-04-23 08:27:01: --> EHLO mail.royalgroup.ae Tue 2013-04-23 08:27:01: <-- 250-mx142.mail.ru ready to serve Tue 2013-04-23 08:27:01: <-- 250-SIZE 73400320 Tue 2013-04-23 08:27:01: <-- 250 8BITMIME Tue 2013-04-23 08:27:01: --> MAIL From:<[email protected]> SIZE=32512 Tue 2013-04-23 08:27:02: <-- 250 OK Tue 2013-04-23 08:27:02: --> RCPT To:<[email protected]> Tue 2013-04-23 08:27:02: <-- 250 OK Tue 2013-04-23 08:27:02: --> DATA Tue 2013-04-23 08:27:03: <-- 354 Go ahead Tue 2013-04-23 08:27:03: Sending <xxxxxxxxxxxxxxxxxxxxxxxx\pd35000094660.msg> to [94.100.176.20] Tue 2013-04-23 08:27:03: Transfer Complete Tue 2013-04-23 08:27:05: <-- 550 We cannot accept email from IP 213.42.234.186 without a DNS PTR record. Contact your ISP/HSP to set up a PTR record for your server. Tue 2013-04-23 08:27:05: --> QUIT
--- End Transcript ---
答案1
您的防火墙很可能是用于过滤垃圾邮件和病毒的透明 SMTP 代理。为防火墙的外部 IP 添加 PTR 记录。在此过程中,请确保您正在更新 SPF 记录(如果有)。
答案2
您需要让您的数据中心或 ISP 为您的邮件服务器 IP 添加 PTR 记录,该 IP 为 213.42.234.186
因此,当有人执行 nslookup 213.42.234.186 时,它应该解析为您的邮件服务器主机名。
答案3
我已经验证我们的邮件服务器 (mail.royalgroup.ae) 已列为相关 IP 的 PTR 记录
不是从这里不是...
** server can't find 186.234.42.213.in-addr.arpa.: NXDOMAIN
并且您没有配置 SPF。
我不明白为什么我们的防火墙的 IP 地址 (.186) 会列在退回消息中。
您是否检查过路由器另一侧数据包上的 IP 地址是什么?很可能已将其配置为伪装。