練功房推薦書單

  • 猛虎出柙雙劍合璧版--最新 OCA / OCP Java SE 7 Programmer 專業認證 (電子書)
  • 流浪教師存零股存到3000萬(全新增修版)(書+DVD)
  • 開始在關西自助旅行(京都‧大阪‧神戶‧奈良)(全新增訂版)
  • 不敗教主的300張股票存股術

Postfix出現connect to 127.0.0.1[127.0.0.1]: Connection refused RSS feed
討論區首頁 » Postfix
發表人 內容
andowson

七段學員
[Avatar]

註冊時間: 2007/1/2
文章: 711
來自: 台北
離線
自從改用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]
 
討論區首頁 » Postfix
前往:   
行動版