向某些地址发送邮件时出错

向某些地址发送邮件时出错

我有一个网店应用程序,在客户下订单后发送邮件。对于某些有效的电子邮件地址,邮件不会发送,一天后会向管理员发送失败报告。然后过了一天,发送了一封递送错误邮件。此类电子邮件地址的示例如下[电子邮件保护]并列于下方。为什么这封邮件没有送达?

Delivered-To: [email protected]
Received: by 10.129.163.17 with SMTP id a17csp28932ywh;
        Thu, 19 May 2016 06:44:05 -0700 (PDT)
X-Received: by 10.25.22.217 with SMTP id 86mr1161211lfw.117.1463665445801;
        Thu, 19 May 2016 06:44:05 -0700 (PDT)
Return-Path: <>
Received: from web02.terra-preta.nl ([46.182.180.231])
        by mx.google.com with ESMTP id 77si4488452lfx.97.2016.05.19.06.44.05
        for <[email protected]>;
        Thu, 19 May 2016 06:44:05 -0700 (PDT)
Received-SPF: neutral (google.com: 46.182.180.231 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=46.182.180.231;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 46.182.180.231 is neither permitted nor denied by best guess record for domain of [email protected]) smtp.helo=web02.terra-preta.nl
From: postmaster@Web-02
To: [email protected]
Date: Thu, 19 May 2016 15:43:56 +0200
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
    boundary="9B095B5ADSN=_01D1AD2C5310C7F00000001Fweb02.terra?pret"
X-DSNContext: 7ce717b1 - 1386 - 00000002 - C00402D1
Message-ID: <[email protected]>
Subject: Delivery Status Notification (Failure)

This is a MIME-formatted message.  
Portions of this message may be unreadable without a MIME-capable mail program.

--9B095B5ADSN=_01D1AD2C5310C7F00000001Fweb02.terra?pret
Content-Type: text/plain; charset=unicode-1-1-utf-7

This is an automatically generated Delivery Status Notification.

Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.

       [email protected]




--9B095B5ADSN=_01D1AD2C5310C7F00000001Fweb02.terra?pret
Content-Type: message/delivery-status

Reporting-MTA: dns;web02.terra-preta.nl
Received-From-MTA: dns;Web-02
Arrival-Date: Tue, 17 May 2016 14:17:40 +0200

Final-Recipient: rfc822;[email protected]
Action: failed
Status: 4.4.7

--9B095B5ADSN=_01D1AD2C5310C7F00000001Fweb02.terra?pret
Content-Type: message/rfc822

Received: from Web-02 ([127.0.0.1]) by web02.terra-preta.nl with Microsoft SMTPSVC(7.5.7601.17514);
     Tue, 17 May 2016 14:17:40 +0200
MIME-Version: 1.0
From: "Dev test" <[email protected]>
To: [email protected]
Date: 17 May 2016 14:17:40 +0200
Subject: Munthandel Kevelam BV. Testing email functionality.
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Return-Path: [email protected]
Message-ID: <[email protected]>
X-OriginalArrivalTime: 17 May 2016 12:17:40.0758 (UTC) FILETIME=[1B8FB360:01D1B036]

Email works fine.



--9B095B5ADSN=_01D1AD2C5310C7F00000001Fweb02.terra?pret--

答案1

我刚刚检查过,他们的两个MX服务器响应都很好,这意味着他们由于某种原因阻止了你的 SMTP 服务器连接。

显然,您的服务器不在任何常见的黑名单上,所以他们一定是出于其他原因选择阻止它,原因可能是任何事情,但可能是因为您的 SMTP 服务器的 IP 没有记录PTR,这使其变得可疑。

添加PTR记录,如果 24 小时后问题仍然存在,您将必须与拒绝您的邮件的每个系统的滥用部门核实,直到解决问题。

使用您自己的域相关的电子邮件地址并调整您的SPF记录以包含您的SMTP服务器可能是明智的,这样可以让您的邮件在到达目标服务器时更具可信度。

相关内容