扫描电子邮件时出现奇怪的错误。
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
尝试这个:
现在不推荐使用上述解决方案:
clamd [24691]:警告:忽略 /etc/clamav/clamd.conf:88 中已弃用的选项 AllowSupplementaryGroups