linux - How to whitelist recipients before mail goes to spamassassin? -


i've been looking everywhere solution didn't find.

what need whitelist recipient addresses won't ever go spamassassin filtering.

in master.cf in postfix have this:

spamassassin unix -     n       n       -       -       pipe     user=spamd argv=/usr/bin/spamc -f -e     /usr/sbin/sendmail -oi -f ${sender} ${recipient} 

thanks in advance.

open file: /etc/spamassassin/local.cf , add line:

whitelist_from abc@def.com 

that whitelist address. blacklist address use

blacklist_from abc@def.com 

also, i'm running ubuntu, , include file in same location, 65_debian.cf. can add there well.

make sure plugin uncommented:

ifplugin mail::spamassassin::plugin::shortcircuit  whitelist_from abc@def.com  ...  endif 

all whitelist/blacklist rules along custom scores , rules should fall within these lines.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -