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
[email protected]
...
[email protected]
...

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 <[email protected]>
Reply-To: [email protected]
Sender: CCC-APT <[email protected]>
To: [email protected]




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


Reply via email to