Banned Content Bypass for Clients not fully working here.
Marko Weber
weber at zackbummfertig.de
Wed Jan 11 15:41:29 CET 2012
Hello List,
i try to bypass the banned content check for selected clients.
but something dont work. banned content still gets blocked from the
test client.
in postfix main.cf i did:
smtpd_client_restrictions =
......
......
......
check_client_access hash:/etc/postfix/amavis_bypass
contents of /etc/postfix/amavis_bypass:
85.15x.xxx.51 FILTER smtp-amavis:[127.0.0.1]:10029
85.15x.xxx.83 FILTER smtp-amavis:[127.0.0.1]:10029
85.15x.xxx.35 FILTER smtp-amavis:[127.0.0.1]:10029
85.15x.xxx.99 FILTER smtp-amavis:[127.0.0.1]:10029
in amavis.conf i set:
$inet_socket_port = [10024, 9998, 10029]
$interface_policy{'9998'} = 'AM.PDP-INET';
$interface_policy{'10029'} = 'BYPASS';
$policy_bank{'BYPASS'} = {
bypass_spam_checks_maps => [1], # don't spam-check this mail
bypass_banned_checks_maps => [1], # don't banned-check this mail
bypass_header_checks_maps => [1], # don't header-check this mail
};
But when the Client sends a mail with an .exe i get blocked message
mails
No viruses were found.
Banned name: .exe,wc.exe
Content type: Banned
Internal reference code for the message is 14724-01/rB7oXdUVrj-0
First upstream SMTP client IP address: [85.15x.xxx.51]
mail174.xxxxxxx.com
According to a 'Received:' trace, the message apparently originated at:
[xxx.26.252.207], hub-xx.stxx-xxxxx.de HELO
hub-xx.hamxx.xxxx.de 193.26.252.207
Is anything wrong in my setup?
I am using amavisd-new-2.6.4 (20090625) on gentoo linux
Marko
More information about the amavis-users
mailing list