clamscan - oversized zip, workaround?

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Tue Jan 13 08:55:30 GMT 2004

Jan-Peter Koopmann wrote:
> Hi Darren,
>>At Mon Jan 12 18:05:43 2004 the virus scanner said:
>>   ClamAV: 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

Earlier discusion on this suggests a value of 70 or more *may* be needed..

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.


More information about the MailScanner mailing list