View Single Post
Old 8th January 2013, 17:25
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

To disable clamav, comment out the clamav sections for clamd and clamav in the amavisd configuration, e.g. on debian Linux the file is /etc/amavis/conf.d/15-av_scanners

add a # in front of these lines:

\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


### - backs up clamd or Mail::ClamAV
['ClamAV-clamscan', 'clamscan',
"--stdout --disable-summary -r --tempdir=$TEMPBASE {}",
[0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

then restart amavisd.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote