【发布时间】:2013-08-13 16:47:01
【问题描述】:
我经营着三个 Magento 网上商店。所有的订单电子邮件都工作得很好,除了 7 封甚至没有从网络服务器发送的电子邮件。在调查该问题后,我发现了以下日志:
Magento 日志:
2013-08-08T11:44:59+00:00 ERR (3):
exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. ' in /var/www/website.com/lib/Zend/Mail/Transport/Sendmail.php:137
Postifx 日志:
Aug 8 12:44:59 bv-webserver postfix/sendmail[18647]: fatal: sales@website.com(33): No recipient addresses found in message header
Aug 8 12:44:59 bv-webserver postfix/postdrop[18648]: fatal: uid=33: malformed input
这很奇怪,因为数百封电子邮件发送得很好,只有这 7 封收到了这个异常。在某些情况下,客户只是从商店再次购买,然后按预期收到了电子邮件。
我认为这可能是资源问题。但我运行 newrelic 代理,服务器在高峰时段最多负载 20%(内存和处理器)。
编辑:忘了提,我用 php-fpm 运行 nginx。
【问题讨论】:
标签: php magento email zend-framework postfix-mta