[Mimedefang] Re: MIMEDefang 2.40-BETA-3 released

dimon at intellinetinc.com dimon at intellinetinc.com
Thu Mar 4 13:14:29 EST 2004


Quoting "David F. Skoll" <dfs at roaringpenguin.com>:

> On Thu, 4 Mar 2004, David F. Skoll wrote:
> 
> > Changelog relative to 2.39 follows.
> 
> Doh!!! I forgot to include this in the changelog:
> 
> 	* mimedefang.pl.in (re_match_in_zip_directory): Added function
> 	to look inside zip archives (if Archive::Zip is installed) to
> 	do filename matching.  Modified example filter to call it.
> 

Is it possible to add an option to example filter to pass additional arguments 
to clamscan? If I have additional archivers installed in my system, I can 
pass "--disable-archive --unzip --unrar --unace --arj --zoo --lha --jar --tar --
deb --tgz" to clamscan. And there is a new option in clamav-devel from CVS (now 
it marks encrypted Zip archives as a virus type "Encrypted.Zip") --detect-
encrypted which also might be passed to clamscan.
Something like $ClamAVArgs = "--disable-archive --unzip --unrar --unace --arj --
zoo --lha --jar --tar --deb --tgz --detect-encrypted";
and in mimedefang.pl
run_virus_scanner($Features{'Virus:CLAMAV'} . " --stdout --disable-summary --
infected --mbox $ClamAVArgs $path 2>&1");

Best regards,
Dmitry



More information about the MIMEDefang mailing list