clamscan is slow
slow and uses much of RAM, I have disabled it by unsetting
@av_scanners_backup
in my local config file.
+1
clamdscan is the client for clamd and is fast, that would be why he
is using it.
at least in debian, amavis contacts clamd directly, not by using
clamdscan:
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
qr/\bOK$/m, qr/\bFOUND$/m,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
in debian, you must add clamav to amavis group, so clamd is able to
read mails unpacked by amavis.
perhaps redhat-based systems have similar requirement.
Fedora 38 ships Amavis 2.13.0 which switched to clamdscan in Amavis
upstream.