練功房推薦書單

  • 猛虎出柙雙劍合璧版:最新 OCA / OCP Java SE 7 Programmer 專業認證
  • 流浪教師存零股存到3000萬
  • SCJP 6.0認證教戰手冊(第二版)Oracle Certified Professional Java Programmer(附光碟)
  • 小資女艾蜜莉:我的資產翻倍存股筆記
Postfix出現connect to 127.0.0.1[127.0.0.1]: Connection refused  RSS feed
討論區首頁 » Postfix
發表人 內容
andowson

七段學員
[Avatar]

註冊時間: 2007-01-02 22:20:40
文章: 705
來自: 台北
離線
自從改用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

分享經驗 累積智慧
[WWW] [MSN]
 
討論區首頁 » Postfix
前往: