bestlong 怕失憶論壇's Archiver

bestlong 發表於 2006-10-11 11:17

Postfix mail 問題排除

收發信件作業正常但是確沒有收到任何信件,執行了 mailq 有大一堆信件出現並包含下列錯誤訊息:[code]connect to 127.0.0.1[127.0.0.1]: Connection refused[/code]或是[code]delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused[/code]快速檢查系統後發現 main.cf 中有一行設定:[code]content_filter = lmtp-filter:127.0.0.1:10025[/code]而實際用 telnet 測試 Port 10025 沒有任何服務

在 /var/log/messages 中發現[code]Oct 10 13:17:14 mail2 perl: [RPM] amavisd-new-2.1.2-1mdk installed
Oct 10 13:22:10 mail2 amavisd: No PID file /var/lib/amavis/amavisd.pid, can't stop the process
Oct 10 13:22:10 mail2 amavisd: Shutting down amavisd: failed
Oct 10 13:22:11 mail2 perl: [RPM] amavisd-new-2.1.2-1mdk removed[/code]在 /var/log/secure 中發現[code]Oct 10 13:17:11 mail2 usermod[8540]: add `amavis' to group `amavis'
Oct 10 13:17:11 mail2 usermod[8540]: add `amavis' to shadow group `amavis'[/code]可能是因為 amavisd 的安裝移除過程,動到 main.cf 的設定。而導致 Postfix 找不到處理內容過濾的服務,所以註解掉 content_filter 這個設定後,重置 Postfix 服務後,信件就開始派送了。
頁: [1]

Powered by Discuz! X1.5 Archiver   © 2001-2010 Comsenz Inc.