Topic: amavis / ClamAV not detecting eicar - Mail passes with clean
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
====
Hi,
we just ran into the situation, that amavis/clamav is not detecting an eicar attachment.
Checking the same file with clamd gives infected warning.
Here's a sample result from the mail.log:
Sep 23 17:39:05 mx amavis[3659]: (03659-08) run_av Using (ClamAV-clamd): (code) CONTSCAN /var/lib/amavis/tmp/amavis-20170923T173545-03659-R2GoIDFG/parts\n
Sep 23 17:39:05 mx amavis[3659]: (03659-08) get_deadline run_av_3 - deadline in 479.9 s, set to 336.000 s
Sep 23 17:39:05 mx amavis[3659]: (03659-08) prolong_timer run_av_3: timer 336, was 336, deadline in 479.9 s
Sep 23 17:39:05 mx amavis[3659]: (03659-08) run_av (ClamAV-clamd) result: /var/lib/amavis/tmp/amavis-20170923T173545-03659-R2GoIDFG/parts: OK\n
Sep 23 17:39:05 mx amavis[3659]: (03659-08) run_av (ClamAV-clamd): CLEAN
Sep 23 17:39:05 mx amavis[3659]: (03659-08) run_av (ClamAV-clamd) result: clean
Thanks for your help.
Greets,
Frank
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.