Virus checking options

Damian amavis at arcsin.de
Wed Apr 26 08:55:19 CEST 2023


>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20230426/bb4b20a9/attachment.htm>


More information about the amavis-users mailing list