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