...
Additionally, TxRep, in similar way to the Bayes plugin, can boost the automated whitelisting/blacklisting at the scan time, when the score of the message triggers the auto-learn process. To activate this feature, you need to enable the option txrep_autolearn. Do not activate the auto-learn option before SpamAssassin is well tuned, and before it sorts spam and ham correctly. With poorly trained SpamAssassin, the auto-learn function of TxRep would boost also all false results. Add the autolearn
value to the email headers (i.e. "add_header all Status ... autolearn=AUTOLEARN"
in local.cf
), and activate the txrep_autolearn
option only after you verified that SA triggers the autolearn process only in the cases when you clearly want to boost the sender's reputation (in one or the other way).
Automatically whitelisting people you've emailed
...
No Format |
---|
SADIR=~/.spamassassin
SENTMAIL=~/mail/Sent
cat $SENTMAIL |
grep -Ei '^(To|cc|bcc):' |
grep -oEi '[a-z0-9_.=/#+-]+@([a-z0-9-]+\.)+[a-z]{2,}' |
tr "A-Z" "a-z" |
sort -u |
xargs -n 100 echo "whitelist_from" > $SADIR/sent_whitelist
|
...