如題奴愉,amavisd 不能正常啟動(dòng)并且 zimbra.log日志報(bào)錯(cuò):
Not able to start Amavis services, error :
Dec 21 10:02:29 server amavis[7787]: initializing Mail::SpamAssassin (0)
Dec 21 10:02:29 server amavis[7787]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Dec 21 10:02:29 server amavis[7787]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
解決辦法:
服務(wù)器接入外網(wǎng),然后運(yùn)行 sa-update 即可解決此問題:
su – zimbra
/opt/zimbra/zimbramon/bin/sa-update -D
zmamavisdctl restart
如果 ZCS 服務(wù)器沒有外網(wǎng):
- 檢查 "/opt/zimbra/data/spamassassin/" 目錄的 "state"目錄
- 如果 "state" 目錄存在厚者,將它移到別的地方并重啟 Amavisd 服務(wù):
mv /opt/zimbra/data/spamassassin/state /tmp/state
zmamavisdctl restart