On 13.11.2014 22:08, Justin Edmands wrote:
> We have a few thousand vendors in our websites database that I would
> like to add to a whitelist. I am thinking of creating a
> /etc/mail/spamassassin/corewhitelist.cf <http://corewhitelist.cf> from
> this database.
>
> What are the limitations/ repercussions of using a sitewide whitelist?
> If I have 2000 addresses in the whitelist, will it take an extra
> 3,30,60,etc. seconds to process an email? base the performance off of
> a 2GB RAM 1vCPU 5560 Xeon virtual machine.
>
> What if this list grows to 20000 entries?
>

In my /etc/maildrop.rc

if (( $SCAN_SPAM == 1) &&  /^From:\s*(.*)/ && lookup( $MATCH1,
"/usr/etc/maildrop_sender_whitelist", "D" ))
{
    xfilter "reformail -A'X-Whitelisted: $MATCH1 in
/usr/etc/maildrop_sender_whitelist'"
    SCAN_SPAM=0
}

Depends on your glue, but whitelist can be used to bypass SA alltogether.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to