Topic: ClamAV Failed (permissions error)
==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue: /var/log/maillog
====
I've noticed these errors in my maillog:
Feb 12 09:27:06 dmzsvr14v amavis[1401]: (01401-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20140212T092705-01401-iNC5oOO9/parts: lstat() failed: Permission denied. ERROR\n"
Feb 12 09:27:06 dmzsvr14v amavis[1401]: (01401-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x32d1568) unexpected , output="/var/spool/amavisd/tmp/amavis-20140212T092705-01401-iNC5oOO9/parts: lstat() failed: Permission denied. ERROR\n" at (eval 116) line 897.
Feb 12 09:27:06 dmzsvr14v amavis[1401]: (01401-01) (!)WARN: all primary virus scanners failed, considering backups
There appears to be a permissions error that is causing ClamAV to fail? I've checked that clamd is running.
Thanks!
Luke
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.