iis7 smtp不断发送失败

我有一个间歇性的问题,通过我的asp.net mvc应用程序发送邮件。 这并不总是会发生,但是它发生了很多。

以下是一些错误:

Message delivery to the host '68.87.26.147' failed while delivering to the remote domain 'comcast.net' for the following reason: An SMTP protocol error occurred. Message delivery to the host '207.115.11.16' failed while delivering to the remote domain 'bellsouth.net' for the following reason: An SMTP protocol error occurred. Message delivery to the host '98.138.112.38' failed while delivering to the remote domain 'ymail.com' for the following reason: An SMTP protocol error occurred. The SMTP verb which caused the error is 'MAIL'. The response from the remote server is '421 4.7.1 [TS03] All messages from xxx.xxx.xxx.xxx will be permanently deferred; Retrying will NOT s'. Message delivery to the host '64.98.36.4' failed while delivering to the remote domain 'trigasco.com' for the following reason: An SMTP protocol error occurred. The SMTP verb which caused the error is 'HELO'. The response from the remote server is '504 5.5.2 <WIN-OB929P97YAR>: Helo command rejected: need fully-qualified hostname '. Message delivery to the host '66.196.118.36' failed while delivering to the remote domain 'yahoo.com' for the following reason: An SMTP protocol error occurred. The SMTP verb which caused the error is 'MAIL'. The response from the remote server is '421 4.7.1 [TS03] All messages from xxx.xxx.xxx.xxx will be permanently deferred; Retrying will NOT s'. 

我的设置为我的smtp虚拟服务器是这样的:

在这里输入图像说明

我已将127.0.0.1添加到允许的列表中。 我收到了一些电子邮件,可能是一半的尝试。

我正在使用具有公共IP地址的专用服务器。 它不是域的一部分。

有什么build议么?

这里有几件事情正在进行。 我们来分解一下:

 4.7.1 [TS03] All messages from xxx.xxx.xxx.xxx will be permanently deferred; 

请注意,这发生在雅虎! 和Ymail – 你在他们的shitlist。 也许你在那里发垃圾邮件 也许有人在你发送垃圾邮件之前拥有这个IP,也许你的反向DNS表明它是一个PPPOE连接上的IP地址,并且由于垃圾邮件的高速率而阻止了它们。 不是你的邮件服务器的错误; 所以在这里没有看到。

  The SMTP verb which caused the error is 'HELO'. The response from the remote server is '504 5.5.2 <WIN-OB929P97YAR>: Helo command rejected: need fully-qualified hostname 

这一个是合理的自我解释 – 您的邮件服务器没有configuration一个FQDN。 这个邮件服务器要求你在邮寄邮件时说明你是谁; 可能这样他们可以运行一个反向DNS或者什么来匹配你所说的与你发送的内容。

 Message delivery to the host '207.115.11.16' failed while delivering to the remote domain 'bellsouth.net' for the following reason: An SMTP protocol error occurred. Message delivery to the host '68.87.26.147' failed while delivering to the remote domain 'comcast.net' for the following reason: An SMTP protocol error occurred. 

这些是你应该关注的真正的东西。 我会打破你的wireshark / pcap,捕获你的邮件stream量,然后通过它来看看发生了什么事情。 必要时通过telnet重新创build。 这将使您更好地了解发生了什么错误。 也许他们是你的问题,也许他们不是。