[Mimedefang] Configure uvscan to scan inside a zip file.

Tony Nugent tony at linuxworks.com.au
Wed Jul 2 10:29:01 EDT 2003

On Tue Jul 01 2003 at 08:36, John McFarlane wrote:

> I have had very good luck scanning the contents of zip files via uvscan.  I
> just updated the call to uvcan telling it to unzip if need be  :)

For what it's worth, uvscan/defang has been working flawlessly here
to correctly identify Sobig.e in its .zip/.zi format (ie, there has
been no need to unzip the attachment before scanning its contents).

> John McFarlane

> > > Has anyone configured File::Scan to scan inside zip files for virus?
> >
> >I haven't, but you could always use File::MMagic in your filter to find
> >application/x-zip files in MD's work directory, then use Archive::Zip
> >to unzip them, then call (message|entity)_contains_virus_filescan()
> >
> >Be careful of zip files with a gig of 0s in them, extracting zip files
> >that expand to be larger than the free space of your HD, etc.
> >
> >   Jason


More information about the MIMEDefang mailing list