[Mimedefang] Multiple Virus Scanners
John Rudd
john at rudd.cc
Fri Sep 9 06:05:16 EDT 2005
On Sep 9, 2005, at 2:09 AM, <Matthew.van.Eerde at hbinc.com> wrote:
> John Rudd wrote:
>> If I have both sophos and clamav installed, how can I be sure that
>> both are being used? I see logs for clamd in syslog, but that's not
>> how sophos sweep works ... so, what do I need to do to make sure that
>> sophos is being invoked?
>
> Modify mimedefang-filter to skip clamav for a particular recipient,
> then send that recipient an EICAR virus to see if sophos picks it up.
>
would that be something like putting this into filter_being before the
message_contains_virus() call?
if ( $WHATEVER_CONDITION_I_WANT ) {
$Features{Virus:CLAMD} = 0;
$Features{Virus:CLAMAV} = 0;
}
else {
$Features{Virus:CLAMD} = 1;
$Features{Virus:CLAMAV} = 1;
}
More information about the MIMEDefang
mailing list