Re: Allowing zip password protected files through

Olivier Dony <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
On Dec 6, 2006, at 3:03 PM, Matt wrote:
> Hi,
> What do I need to do to allow qmail-scanner to allow a zip file with a
> password to come through the system?  Right now, it blocks them
> because it can't see the content of the file.

All policy-based rules are defined in quarantine-events.txt.
If you have a look in it, you will see this line related to your  
question:

is-set  Policy-ZIPPASSWORDPROTECTED:    Password-protected Zip  
disallowed by policy

This means that mails which have a ZIPPASSWORDPROTECTED header with a  
value "is-set" will be blocked.
As explained in the comments above the line, this header is set  
automatically by QMS when a password-protected ZIP file is detected.

To disable this rule, comment it out by adding a # at the beginning  
of that line, and then run 'qmail-scanner-queue.pl -g' to update the  
corresponding db file, as stated at the beginning of quarantine- 
events.txt.

Hope that helps,


--
Olivier

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.