Topic: amavis virus scan broken new install
I see this in the log for every email the server receives
Jul 5 15:21:59 transit-gw amavis[24769]: (24769-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20140705T152159-24769/parts: lstat() failed: Permission denied. ERROR\n"
Jul 5 15:21:59 transit-gw amavis[24769]: (24769-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x3e3f5b8) unexpected , output="/var/spool/amavisd/tmp/amavis-20140705T152159-24769/parts: lstat() failed: Permission denied. ERROR\n" at (eval 103) line 596.
Jul 5 15:21:59 transit-gw amavis[24769]: (24769-01) (!!)WARN: all primary virus scanners failed, considering backups
I have made the folders 755 and added clam to the group amavis and clamav
==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Linux/BSD distribution name and version: centos 6.5
- Related log if you're reporting an issue:
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.