[Mimedefang] Virus:HBEDV and antivir 3.x avscan
Marcus
lists at localguru.de
Thu Jan 21 21:47:12 EST 2010
Hi,
Am Freitag, den 22.01.2010, 01:15 +0100 schrieb Marcus:
> Am Donnerstag, den 21.01.2010, 23:36 +0100 schrieb Marcus:
> > Hi,
> >
> > I'm looking for a way to intergate the antivir 3.x in mimedefang 2.64 on
> > debian/lenny. Any trys with playing with
> >
> > $Features{'Virus:NAI'} = '/usr/bin/avscan'
I've set a symlink from avscan to antivir and changed
"run_virus_scanner" in sub message_contains_virus_hbedv
in /usr/bin/mimedefang.pl to
run_virus_scanner($Features{'Virus:HBEDV'} . " --batch
--alert-action=none --allfiles -z -rs ./Work 2>&1", "!Virus!|>>>|VIRUS:|
FUND:");
This seems to work fine, the eicar test virus is found, but the name of
the virus is not set in "X-Virus-Status: Yes, name=unknown-HBEDV-virus"
using
action_add_header('X-Virus-Status', "Yes, name=$VirusName");
in mimedefang-filter.
And I'm looking for another way to modify the line "run_virus_scanner"
instead of writing it directly to /usr/bin/mimedefang.pl. All changes
here might be overwritten with a next package upgrade/fix.
Ciao!
More information about the MIMEDefang
mailing list