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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -