On 10/5/2009 10:23 AM, Jevos, Peter wrote:
> Hi
>
> I'd like to ask how to kip the chekicng of the password protected zip
> files
>
> Now it's UNDECIPHERABLE so it is banned ( blocked )
>
> What should I change in the config file?
>
> I'm using amavisd 2.2.1
>

Under the "$banned_filename_re " section of your amavisd.conf, 
comment out the line that looks something like
qr'^UNDECIPHERABLE$',  # is or contains any undecipherable 
components


 Dear Noel

thaks for your answer
I did it before already but it doesn't work

here is my conf:

$banned_filename_re = new_RE(
# qr'^UNDECIPHERABLE$',  # is or contains any undecipherable components

  # block certain double extensions anywhere in the base name
  qr'\.[^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,


And the log is:


Oct  5 21:37:16 mailgate amavis[32461]: (32461-03) p003 1 Content-Type: 
multipart/mixed
Oct  5 21:37:16 mailgate amavis[32461]: (32461-03) p001 1/1 Content-Type: 
text/plain, size: 284 B, name:
Oct  5 21:37:16 mailgate amavis[32461]: (32461-03) p002 1/2 Content-Type: 
application/force-download, size: 748191 B, name: test.zip
Oct  5 21:37:16 mailgate amavis[32461]: (32461-03) do_unzip: p002, 1 members 
are encrypted, none extracted, archive retained
Oct  5 21:37:17 mailgate amavis[32461]: (32461-03) spam_scan: not wasting time 
on SA, message longer than 262144 bytes: 1552+1011324
...


Oct  5 21:37:17 mailgate amavis[32461]: (32461-03) Blocked CLEAN, [xxx] [xxxxx] 
<xxx> -> <xxx>, Message-ID: <4616.85.160.14.123.1254771424.sxxxx>, Hits: -, 
2245 ms


thanks
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to