Hi all,

I've make a small small features for qmail-scanner :-). 
The features allow some zip files with a password when we make my 
$BLOCK_PASSWORD_PROTECTED_ARCHIVES='1';

Just edit qmail-scanner-queue.pl and add in variable in top:
my $WHITE_ZIP_PASSWORD="TOTO_PROTECTED";

In function unzip_file()
my $n_zip="$zipfile";
if($n_zip =~ m/$WHITE_ZIP_PASSWORD/) {
        &debug("u_f: skipped $n_zip => white liste");
        return 0;
        }

Now you send un zip with a password who contain "TOTO_PROTECTED" :-).

Best regards,
Sylvain


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to