Whitelisting doesn't seem to be working
Vicki Brown
vlb at cfcl.com
Tue Jan 19 21:46:04 CET 2016
In my .conf file, I have:
# WHITE AND BLACKLISTING BY SENDER
read_hash(\%whitelist_sender, '/usr/local/mail/sender_whitelist');
@whitelist_sender_maps = (\%whitelist_sender);
$interface_policy{'10026'} = 'WHITELIST';
$policy_bank{'WHITELIST'} = { # 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
};
The file, /usr/local/mail/sender_whitelist is formatted as
*.dilbert.com
.jacquielawson.com
.msnbc.com
.zazzle.com
aaa.com
acousticguitar.stringletter.com
action.eff.org
alert at indeed.com
...
capitalcitychapterapt at gmail.com
...
However, mail from addresses/domains in the whitelist is still being spamchecked.
e.g. today:
X-Spam-Flag: YES
X-Spam-Score: 1.716
X-Spam-Level: *
X-Spam-Status: Yes, score=1.716 tagged_above=-999 required=1
tests=[FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_FONT_LOW_CONTRAST=0.713,
HTML_MESSAGE=0.5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01,
URI_NOVOWEL=0.5] autolearn=disabled
Date: Mon, 18 Jan 2016 20:06:42 -0500 (EST)
From: CCC-APT <capitalcitychapterapt at gmail.com>
Reply-To: capitalcitychapterapt at gmail.com
Sender: CCC-APT <julie at ccc-apt.ccsend.com>
To: vlb at cfcl.com
Can someone tell me what I'm doing wrong / point me to better docs?
Is the problem with the fact that the "Sender:" was not in my whitelist?
-- Vicki Brown
cfcl.com/vlb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160119/4b235a9f/attachment.html>
More information about the amavis-users
mailing list