<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In my .conf file, I have:<div class=""><br class=""><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""># WHITE AND BLACKLISTING BY SENDER</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">read_hash(\%whitelist_sender, '/usr/local/mail/sender_whitelist');</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">@whitelist_sender_maps = (\%whitelist_sender);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253); min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">$interface_policy{'10026'} = 'WHITELIST';</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">$policy_bank{'WHITELIST'} = { # mail from the pickup daemon</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">    bypass_spam_checks_maps   => ['@whitelist_sender_maps'],  # don't spam-check this mail</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">    bypass_banned_checks_maps => ['@whitelist_sender_maps'],  # don't banned-check this mail</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">    bypass_header_checks_maps => ['@whitelist_sender_maps'],  # don't header-check this mail</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">};</div><div class=""><br class=""></div><div class="">The file, /usr/local/mail/sender_whitelist is formatted as</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">*.<a href="http://dilbert.com" class="">dilbert.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">.<a href="http://jacquielawson.com" class="">jacquielawson.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">.<a href="http://msnbc.com" class="">msnbc.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">.<a href="http://zazzle.com" class="">zazzle.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""><a href="http://aaa.com" class="">aaa.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""><a href="http://acousticguitar.stringletter.com" class="">acousticguitar.stringletter.com</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""><a href="http://action.eff.org" class="">action.eff.org</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""><a href="mailto:alert@indeed.com" class="">alert@indeed.com</a></div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class="">...</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; background-color: rgb(211, 254, 253);" class=""><div style="margin: 0px;" class=""><a href="mailto:capitalcitychapterapt@gmail.com" class="">capitalcitychapterapt@gmail.com</a></div><div class="">...</div></div><div class=""><br class=""></div><div class="">However, mail from addresses/domains in the whitelist is still being spamchecked.</div><div class=""><br class=""></div><div class="">e.g. today:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class="">X-Spam-Flag: YES</div><div style="margin: 0px;" class="">X-Spam-Score: 1.716</div><div style="margin: 0px;" class="">X-Spam-Level: *</div><div style="margin: 0px;" class="">X-Spam-Status: Yes, score=1.716 tagged_above=-999 required=1</div><div style="margin: 0px;" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>tests=[FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,</div><div style="margin: 0px;" class=""><span class="Apple-tab-span" style="white-space:pre">      </span>HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_FONT_LOW_CONTRAST=0.713,</div><div style="margin: 0px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>HTML_MESSAGE=0.5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01,</div><div style="margin: 0px;" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>URI_NOVOWEL=0.5] autolearn=disabled</div><div style="margin: 0px;" class="">Date: Mon, 18 Jan 2016 20:06:42 -0500 (EST)</div><div style="margin: 0px;" class="">From: CCC-APT <<a href="mailto:capitalcitychapterapt@gmail.com" class="">capitalcitychapterapt@gmail.com</a>></div><div style="margin: 0px;" class="">Reply-To: <a href="mailto:capitalcitychapterapt@gmail.com" class="">capitalcitychapterapt@gmail.com</a></div><div style="margin: 0px;" class="">Sender: CCC-APT <<a href="mailto:julie@ccc-apt.ccsend.com" class="">julie@ccc-apt.ccsend.com</a>></div><div style="margin: 0px;" class="">To: <a href="mailto:vlb@cfcl.com" class="">vlb@cfcl.com</a></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Can someone tell me what I'm doing wrong / point me to better docs?</div><div class="">Is the problem with the fact that the "Sender:" was not in my whitelist?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-- Vicki Brown<br class="">  <a href="http://cfcl.com/vlb" class="">cfcl.com/vlb</a><br class=""><br class=""></div></span></div></span></div></span></div></span></div></span>
</div>
<br class=""></div></div></body></html>