Hi,
There is a bug with disallowed protected zip. With hotmail or
squirrelmail or Outlook, function don't work because you catch .zip$.
When the file is rename with squirrelmail the filename is ".zip__". I
modified and it work now.
if ($save_filename ne $new_filename) {
$new_filename =~ /(\.[^\.]+)$/;
$new_filename=&uniq_id."$new_filename";
rename($save_filename,$new_filename);
&debug("d_m: ren $save_filename to $new_filename");
$save_filename=$new_filename;
}
&debug("DEBUG S: $save_filename");
===> if ( $save_filename =~ m/\.(zip|exe).*$/i) {
&unzip_file($save_filename);
}
}
Maybe it's not the better solution ;-).
Best regards,
Sylvain
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general