有安裝之服務為postfix+dovecot+MailScanner+clamav+SpamAssassin+MailWatch+monitorix+fail2ban+OpenWebMail
mailq | tail -n +2 | awk 'BEGIN { RS = "" } / MAILER-DAEMON/ { print $1 }' | tr -d '*!' | postsuper -d -
vi /etc/MailScanner/MailScanner.conf
Use SpamAssassin = no
Virus Scanning = no
Virus Scanners = none
之後init 6重開Server後又可以正常收發,問題無解
期間有使用yum update,反而收信時有錯誤訊息
ERR [IN-USE] Internal error occurred. Refer to server log for more information
檢查原因為dovecot update後新設定值不會蓋掉舊設定值,反而產生dovecot.conf.rpmnew檔案
手動覆蓋更改設定後就恢復正常
隔天看/var/log/maillog
有多次錯誤訊息為
localhost MailScanner[3966]: Failed to read configuration file /etc/MailScanner/MailScanner.conf
是否有可能為MailScanner.conf壞掉或權限問題?
沒有留言:
張貼留言