[Rspamd-Users] ClamAV and rspamd : log question

Mickaël Dequidt Mickael.Dequidt at ifremer.fr
Thu Feb 16 14:12:31 UTC 2023


Hello all,

Would anyone be able to explain to me why I can't see a log line

> lua; clamav.lua:131: clamav: message or mime_part is clean

for each clean message but only for ~ 1/3 of them ? It makes me fear 
that clamav doesn't scan everything and that some emails are just 
passing through...


here is my local.d/antivirus.conf ::

> clamav {
>     scan_mime_parts = false;
>     scan_text_mime = false;
>     scan_image_mime = false;
>     max_size = 20000000000;
>     symbol = "CLAM_VIRUS";
>     type = "clamav";
>     log_clean = true;
>     servers = "127.0.0.1:3310";
>     patterns_fail {
>         CLAM_LIMITS_EXCEEDED = '^Heuristics\.Limits\.Exceeded$';
>     }
>     timeout = 30.0;
>     whitelist = "/etc/rspamd/antivirus.wl";
> }

Thanks,

-- 
Mickaël DEQUIDT
IFREMER - Service IRSI/RIC
Centre Ifremer Bretagne - ZI de la pointe du diable
CS 10070 - 29280 Plouzané
Tel : +33 (0)2 98 22 46 04 - Fax : +33 (0)2 98 22 46 47


More information about the Users mailing list