[Mimedefang] Disable clamav/clamd in mimedefang-2.57...
fredrik.pettai at vattenfall.com
fredrik.pettai at vattenfall.com
Fri Aug 25 12:20:23 EDT 2006
Hi,
I wanted to disable clamav, so i modified mimedefang.pl and removed the
paths to the binaries by doing so:
$Features{'Virus:CLAMAV'} = 0;
$Features{'Virus:CLAMD'} = 0;
So then I do a:
# mimedefang.pl -features
...
Virus:CLAMAV : no
Virus:CLAMD : no
...
Virus:CLAM.. isn't enabled.
However, then I start mimedefang + sendmail I get this error messages:
Aug 25 17:29:17 mx1 mimedefang.pl[3699]: k7PFTCbf005336: Could not
connect to clamd daemon at /var/spool/MIMEDefang/clamd.sock
I looked in mimedefang.pl again, and commented out the following subs
(all of it) to see if that would help...
#sub entity_contains_virus_clamav ($) {
#sub message_contains_virus_clamav () {
#sub interpret_clamav_code ($) {
#sub entity_contains_virus_clamd ($;$) {
#sub message_contains_virus_clamd (;$) {
But it didn't. I still get the same message then try to run mimedefang +
sendmail. I believe that mimedefang somehow finds /usr/sbin/clamd, but I
don't understand from where...
My filter doesn't contain anything that calls for any virus scanning.
I guess that most people are more concerned about getting virus scanner
to work. But I want to disable it :-)
Any more ideas where I should poke?
TIA,
/P
More information about the MIMEDefang
mailing list