clamscan - oversized zip, workaround?

Jan-Peter Koopmann Jan-Peter.Koopmann at SECEIDOS.DE
Tue Jan 13 08:47:00 GMT 2004


Hi Darren,
 
> At Mon Jan 12 18:05:43 2004 the virus scanner said:
>    ClamAV: ad_tif.zip contains Oversized Zip "
> 
> This is a known issue with ClamAV and I was wondering if 
> anyone had a good workaround.  If not a good work around, how 
> can I disable scanning the contents of zip files.  I modified 
> /usr/lib/MailScanner/clamav-wrapper as below and restarted 
> MailScanner but that didn't seem to do the trick.

Edit libclamav/scanners.c and change

#define ZIPOSDET 20 /* FIXME: Make it user definable */

to 

#define ZIPOSDET 50 /* FIXME: Make it user definable */


Works like a charm on my installations.

Regards,
  JP




More information about the MailScanner mailing list