Sendmail已经停止工作。 需要build议与错误消息

所以我的服务器已经停止发送电子邮件。 看一下/var/mail/www-data给了我一些线索。 诊断代码显示了这一点:

 Diagnostic-Code: SMTP; 553 5.1.8 Sender address <[email protected]> domain does not exist 

其余的错误如下:

 --s09He2kF031259.1389289202/ip-10-33-164-999.eu-east-1.compute.internal Content-Type: message/delivery-status Reporting-MTA: dns; ip-10-33-164-999.eu-east-1.compute.internal Received-From-MTA: DNS; localhost Arrival-Date: Thu, 9 Jan 2014 17:39:55 GMT Final-Recipient: RFC822; [email protected] Action: failed Status: 5.1.8 Diagnostic-Code: SMTP; 553 5.1.8 Sender address <[email protected]> domain does not exist Last-Attempt-Date: Thu, 9 Jan 2014 17:40:02 GMT --s09He2kF031259.1389289202/ip-10-33-164-999.eu-east-1.compute.internal Content-Type: text/rfc822-headers Return-Path: <[email protected]> Received: from ip-10-33-164-999.eu-east-1.compute.internal (localhost [127.0.0.1]) by ip-10-33-164-999.eu-east-1.compute.internal (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id s09HdtkF031257 for <[email protected]>; Thu, 9 Jan 2014 17:39:55 GMT Received: (from www-data@localhost) by ip-10-33-164-999.eu-east-1.compute.internal (8.14.4/8.14.4/Submit) id s09Hdtnu031256; Thu, 9 Jan 2014 17:39:55 GMT Date: Thu, 9 Jan 2014 17:39:55 GMT Message-Id: <201401099999.s09Hdtnu031256@ip-10-33-164-999.eu-east-1.compute.internal> To: [email protected] Subject: New newsletter X-PHP-Originating-Script: 1000:TemplateController.php From: [email protected] 

我发现奇怪的是,最近在那台服务器上没有任何改变。 我唯一的想法是创build一个服务器的确切副本,所以服务器当前有一个克隆运行,这意味着有另一台服务器在那里有相同的主机文件。 这可能是造成这个问题吗?

我的主机文件目前看起来像这样:

 127.0.0.1 localhost 54.444.222.44 test.answers.com answers # The following lines are desirable for IPv6 capable hosts ::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 

谁能帮忙? 提前致谢!

您的sendmail使用ip-10-33-164-999.eu-east-1.compute.internal作为其电子邮件名称。 它使用它作为本地用户的默认域,

远程主机拒绝接受发件人域缺less公共“MX”或“A”DNSlogging的邮件,因为无法发回(最终)退回邮件。

你有一个静态的公共IP地址?

YES =>将您的主机名设置为使用公共MX或DNSlogging的名称

https://askubuntu.com/questions/9540/how-do-i-change-the-computer-name

NO =>您可以将sendmail masquearde作为另一个主机用于电子邮件目的。