stopping clamav detecting encrypted zip files

Gareth list-mailscanner at
Thu Apr 5 09:33:15 IST 2007

On Wed, 2007-04-04 at 17:04, Aaron K. Moore wrote:

> Are you using the clamavmodule?  I've had the same problem.  There's a
> commandline switch to turn that notice if when using clamscan, but not
> with the module.  I'd suggested earlier that someone should add code for
> clamav, like the code for Sophos that allows you to specify messages to
> ignore.

I think its a bug in Mailscanner. There appears to be code in place in
the routine which calls clamavmodule which disables blocking of
encrypted files if there is a config option 'allowpasszips' set but I
cannot find that option.

Anyway below is a diff which disables blocking of encrypted archives
which is working fine for me.

<                                Mail::ClamAV::CL_SCAN_BLOCKENCRYPTED()
> #                               Mail::ClamAV::CL_SCAN_BLOCKENCRYPTED()

More information about the MailScanner mailing list