Virus checking options

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed Apr 26 08:38:43 CEST 2023


>On 26/04/2023 09:53, Benny Pedersen wrote:
>>clamdscan why ?, load of all signatures pr email scanned is slow 
>>very slow :)

On 26.04.23 12:58, Noel Butler wrote:
>clamscan is slow

slow and uses much of RAM, I have disabled it by unsetting 
@av_scanners_backup

in my local config file.


>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.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
(R)etry, (A)bort, (C)ancer


More information about the amavis-users mailing list