Changes

Jump to navigation Jump to search
771 bytes added ,  21:09, 5 September 2015
Line 183: Line 183:     
These lists can be also controlled by the server-manager with the wbl contrib http://wiki.contribs.org/Email_Whitelist-Blacklist_Control
 
These lists can be also controlled by the server-manager with the wbl contrib http://wiki.contribs.org/Email_Whitelist-Blacklist_Control
 +
 +
 +
====Testing====
 +
 +
You can check the auto-learning statistics with this command. You will be able to note the accumulation of the spam tokens (or not). Note that the Bayesian filtering must receive 200 spam messages before it starts to function, so don't expect instantaneous results.
 +
 +
sa-learn --dump magic
 +
 +
You can check the spam filter log with this command:
 +
 +
tail -50 /var/log/spamd/current | tai64nlocal
 +
 +
Check spamassassin configuration like this:
 +
 +
spamassassin -D --lint
 +
 +
If you ever see an error such as:
 +
 +
warn: bayes: cannot open bayes databases /etc/mail/spamassassin/bayes_* R/W: tie failed: Permission denied
 +
 +
Try adjusting some permissions with these commands:
 +
 +
chown :spamd /var/spool/spamd/.spamassassin/*
 +
chmod g+rw /var/spool/spamd/.spamassassin/*
    
===Real-time Blackhole List (RBL)===
 
===Real-time Blackhole List (RBL)===

Navigation menu