2013-08-12 82 views
0

我運行了三個Magento網絡商店。所有的訂單電子郵件都運行得很好,除了7個電子郵件,甚至沒有從網絡服務器發送。在調查這個問題,我發現以下日誌:Zend_Mail和Postfix出現奇怪的例外

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: [email protected](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。

回答

0

如果您嘗試發送沒有收件人地址的電子郵件,則始終存在問題。 Postfix的告訴你:

8 12:44:59 bv-webserver postfix/sendmail[18647]: fatal: [email protected](33): No recipient addresses found in message header 

解決這個問題,你應該確定。

您可能需要了解爲什麼應用程序明顯丟失了所討論的七個事務的電子郵件地址。