[Mimedefang] disabling the virus scanner?

Fredrik Pettai pettai at nordu.net
Thu Mar 13 12:49:26 EDT 2014


Hi,

I want to disable the virus scanner (ClamAV).

I've tried to add this to global part of mimedefang-filter:

[…]

# Disable Checking inside Zip
#$Features{"Archive::Zip"} = "";

# Disable ClamAV
$Features{"Virus:CLAMAV"} = "";
$Features{"Virus:CLAMD"} = "";

# Detect and load Perl modules
detect_and_load_perl_modules();

[…]

Which I thought should be enough… (plus running md-mx-ctrl reread)

but still, I get this in sendmail logs: 

Mar 13 16:37:48 smtp mimedefang.pl[603]: s2DGbkeN002529: Could not connect to clamd daemon at /var/spool/MIMEDefang/clamd.sock
Mar 13 16:37:48 smtp mimedefang.pl[603]: s2DGbkeN002529: Problem running virus scanner: code=999, category=cannot-execute, action=tempfail
Mar 13 16:37:48 smtp sm-mta[2529]: s2DGbkeN002529: Milter: data, reject=451 4.3.0 Problem running virus-scanner
Mar 13 16:37:48 smtp sm-mta[2529]: s2DGbkeN002529: to=<pettai at ...>, delay=00:00:00, pri=32681, stat=Problem running virus-scanner

I've also tried restarted mimedefang + mimedefang-multiplexor, and even uninstalled ClamAV, but even that didn't help…

What could be wrong?

/P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20140313/de749ccc/attachment.sig>


More information about the MIMEDefang mailing list