Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[AMaViS-user] How to skip the chekicng of the password protected zip files

311 views
Skip to first unread message

Jevos, Peter

unread,
Oct 5, 2009, 11:23:35 AM10/5/09
to
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


Thanks

pet

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
AMaViS-user mailing list
AMaVi...@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/

Noel Jones

unread,
Oct 5, 2009, 2:10:19 PM10/5/09
to
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


-- Noel Jones

Jevos, Peter

unread,
Oct 5, 2009, 3:46:18 PM10/5/09
to

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

Noel Jones

unread,
Oct 5, 2009, 4:21:16 PM10/5/09
to

Looks like you snipped out the part of the log that shows why
the mail was blocked.

Jevos, Peter

unread,
Oct 5, 2009, 4:47:05 PM10/5/09
to

>> 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
>
>

Looks like you snipped out the part of the log that shows why
the mail was blocked.

-- Noel Jones

So here is the log once again:

Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p003 1 Content-Type: multipart/mixed
Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p001 1/1 Content-Type: text/plain, size: 565 B, name:
Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p002 1/2 Content-Type: application/force-download, size: 748191 B, name: test.zip
Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) do_unzip: p002, 1 members are encrypted, none extracted, archive retained
Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) spam_scan: not wasting time on SA, message longer than 262144 bytes: 1552+1011605

...
Oct 5 22:33:44 mailgate postfix/cleanup[4608]: A3C63A2465: reject: header Subject: ***UNCHECKED*** [Fwd: test] from localhost[127.0.0.1]; from=<xx> to=<xx> proto=ESMTP helo=<localhost>: 5.7.1 Amavis checked
Oct 5 22:33:45 mailgate amavis[4342]: (04342-02) mail_via_smtp: 550 5.6.0 Failed, id=04342-02, from MTA: 550 5.7.1 Amavis checked
Oct 5 22:33:45 mailgate amavis[4342]: (04342-02) Blocked CLEAN, [xx] [xx] <xx> -> <xx>, Message-ID: <4705.85.160.37.107....@mail.oriflame.biz>, Hits: -, 1959 ms
Oct 5 22:33:45 mailgate postfix/smtpd[4259]: disconnect from localhost[127.0.0.1]


thanks

Noel Jones

unread,
Oct 5, 2009, 5:08:54 PM10/5/09
to
On 10/5/2009 3:47 PM, 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
>>
>>
>
>
> Looks like you snipped out the part of the log that shows why
> the mail was blocked.
>
> -- Noel Jones
>
> So here is the log once again:
>
> Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p003 1 Content-Type: multipart/mixed
> Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p001 1/1 Content-Type: text/plain, size: 565 B, name:
> Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) p002 1/2 Content-Type: application/force-download, size: 748191 B, name: test.zip
> Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) do_unzip: p002, 1 members are encrypted, none extracted, archive retained
> Oct 5 22:33:43 mailgate amavis[4342]: (04342-02) spam_scan: not wasting time on SA, message longer than 262144 bytes: 1552+1011605
>
> ...
> Oct 5 22:33:44 mailgate postfix/cleanup[4608]: A3C63A2465: reject: header Subject: ***UNCHECKED*** [Fwd: test] from localhost[127.0.0.1]; from=<xx> to=<xx> proto=ESMTP helo=<localhost>: 5.7.1 Amavis checked


The mail is blocked by a postfix header_checks rule when
amavis tries to reinject it. Don't do that.


> Oct 5 22:33:45 mailgate amavis[4342]: (04342-02) mail_via_smtp: 550 5.6.0 Failed, id=04342-02, from MTA: 550 5.7.1 Amavis checked
> Oct 5 22:33:45 mailgate amavis[4342]: (04342-02) Blocked CLEAN, [xx] [xx]<xx> -> <xx>, Message-ID:<4705.85.160.37.107....@mail.oriflame.biz>, Hits: -, 1959 ms
> Oct 5 22:33:45 mailgate postfix/smtpd[4259]: disconnect from localhost[127.0.0.1]
>
>

Jevos, Peter

unread,
Oct 6, 2009, 3:37:07 AM10/6/09
to


Thank you Noel

Solved : )

0 new messages