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

Jason Englander jason at englanders.cc
Mon Jun 30 20:56:00 EDT 2003


On Thu, 26 Jun 2003, Lucas Albers wrote:

> 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

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list