Amavis

run_av (ClamAV-clamd) 和 ClamAV-clamd av-scanner 失敗 - 意外

  • December 29, 2020

掃描電子郵件時出現奇怪的錯誤。

Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20140917T141903-00616-Vqttx7KO/parts: lstat() failed: Permission denied. ERROR\n"
Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)ClamAV-clamd av-scanner FAILED: CODE(0xf8fde0) unexpected , output="/var/lib/amavis/tmp/amavis-20140917T141903-00616-Vqttx7KO/parts: lstat() failed: Permission denied. ERROR\n" at (eval 113) line 899.
Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)WARN: all primary virus scanners failed, considering backups

我將 amavis 添加到 clamav 組,反之亦然,但我認為這不是訣竅。有人可以幫忙嗎?

請發表評論,以便我添加必要的資訊。

在 clamd.conf 中 AllowSupplementaryGroups 預設為 false

試試這個:

AllowSupplementaryGroups true

現在不推薦使用上述解決方案:

蛤蜊

$$ 24691 $$:警告:忽略 /etc/clamav/clamd.conf:88 中已棄用的選項 AllowSupplementaryGroups

引用自:https://serverfault.com/questions/629213