On 26/04/2023 16:38, Matus UHLAR - fantomas wrote:

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.

Perhaps, might explain it too. I haven't touched a rpm (or deb) system in a very long time (we use slackware) so can't check myself.

--
Regards,
Noel Butler

This Email, including attachments, may contain legally privileged information, therefore at all times remains confidential and subject to copyright protected under international law. You may not disseminate this message without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message.

Reply via email to