problems with whitelisting

hiller <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
Dear list,

i have installed amavisd-new version 2.11.0. I have problems with whitelisting.
I have googled around and none of the soltions worked.
I amavisd.conf i did:

read_hash(\%whitelist_sender, '/etc/amavisd.whitelist_ext'),
@whitelist_sender_maps = (\%whitelist_sender),

/etc/amavisd.whitelist_ext contains:
.gooddomain.com
[email protected]

This does not work. Mails from the good addresses are still spamchecked, bannedchecked and headerchecked.

This also does not work:
@whitelist_sender_maps = (['.gooddomain.com', '[email protected]']);


Also this does not work either:
read_hash(\%whitelist_sender, '/etc/amavisd.whitelist_ext');
@whitelist_sender_maps = (\%whitelist_sender);

$interface_policy{'10024'} = 'VIRUSONLY';
$policy_bank{'VIRUSONLY'} = { # mail from the pickup daemon
 bypass_spam_checks_maps => ['@whitelist_sender_maps'], # don't spam-check this mail
 bypass_banned_checks_maps => ['@whitelist_sender_maps'], # don't banned-check this mail
 bypass_header_checks_maps => ['@whitelist_sender_maps'], # don't header-check this mail
};

For me bypass_*_checks_maps seems to be a global on/off switch. With this method i do whitelist any address, no matter of the contents of /etc/amavisd.whitelist_ext.

These are the definition of the ports:
# 10024 = outside email - check, don't sign
# 10026 = inside email - check & sign
# 10028 = mailman - sign only; email was checked on delivery
$inet_socket_port = [10024, 10026, 10028];  # listen on multiple TCP ports


Who has a solution or knows what i am doing wrong?
Is more information from me needed?

With kind regards and thank you in advance, ulrich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.