https://bugzilla.redhat.com/show_bug.cgi?id=1029710
--- Comment #8 from Juan Orti Alcaine juan.orti@miceliux.com --- Ok, I have run several tests with your config, and it blocks the delivery of the email in all the cases. The tests were with clamd enabled and disabled.
I have seen it fails to quarantine the email and to send the notification. It is because you have:
$QUARANTINEDIR = "/var/virusmails";
Change it to a folder inside /var/spool/amavisd or set the appropiate SELinux permissions:
# chown amavis:amavis /var/virusmails # semanage fcontext -a -t antivirus_db_t '/var/virusmails(/.*)?' # restorecon -F -r -v /var/virusmails
Does it fix your issue?