自從改用
Postfix當作Mail Server後,一直運作的很順,直到最近CentOS由4.4升級為4.5重開機後,開始發現退信通知信,內容如下:
This is the Postfix program at host andowson.com.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The Postfix program
<root@andowson.com> (expanded from <root>): connect to 127.0.0.1[127.0.0.1]:
Connection refused
上網找到一篇
文章說這應該是
amavisd-new沒啟動造成的問題,果然下了
service amavisd start
然後再下
postfix flush
信件就一封一封收到了。
要徹底解決這個問題,就是設定讓系統每次重開機時自動執行amavisd-new,指令如下:
chkconfig amavisd on
參考資料:
http://linux.vbird.org/linux_server/0380mail.php#adv_scan