Changes

Jump to navigation Jump to search
92 bytes added ,  19:30, 1 February 2008
Line 521: Line 521:  
thresholds for the bayesian filter.
 
thresholds for the bayesian filter.
   −
  <nowiki>rpm -Uvh \
+
  config setprop spamassassin UseBayes 1
http://mirror.contribs.org/smeserver/contribs/\
+
config setprop spamassassin BayesAutoLearnThresholdSpam 4.00
michaelw/sme7/smeserver-spamassassin-features-0.0.2-0.noarch.rpm</nowiki>
+
config setprop spamassassin BayesAutoLearnThresholdNonspam 0.10
 
  sa-learn --sync --dbpath /var/spool/spamd/.spamassassin -u spamd
 
  sa-learn --sync --dbpath /var/spool/spamd/.spamassassin -u spamd
 
  chown spamd.spamd /var/spool/spamd/.spamassassin/bayes_*
 
  chown spamd.spamd /var/spool/spamd/.spamassassin/bayes_*
 
  chown spamd.spamd /var/spool/spamd/.spamassassin/bayes.mutex
 
  chown spamd.spamd /var/spool/spamd/.spamassassin/bayes.mutex
  chmod 750 /var/spool/spamd/.spamassassin/bayes_*  
+
  chmod 640 /var/spool/spamd/.spamassassin/bayes_*  
 +
setprop qpsmtpd DNSBL enabled
 +
setprop qpsmtpd RHSBL enabled
 
  config setprop spamassassin status enabled
 
  config setprop spamassassin status enabled
 
  config setprop spamassassin RejectLevel 12
 
  config setprop spamassassin RejectLevel 12
 
  config setprop spamassassin TagLevel 4
 
  config setprop spamassassin TagLevel 4
 
  config setprop spamassassin Sensitivity custom
 
  config setprop spamassassin Sensitivity custom
  signal-event post-upgrade
+
  signal-event email-update
signal-event reboot
      
These commands will:
 
These commands will:
Line 539: Line 540:  
* configure spamassassin to reject any email with a score above 12
 
* configure spamassassin to reject any email with a score above 12
 
* tag spam scored between 4 and 12 in the email header
 
* tag spam scored between 4 and 12 in the email header
* 'autolearn' as SPAM any email with a score above 12
+
* enable bayesian filter
* 'autolearn' as HAM any email with a score below .10
+
* 'autolearn' as SPAM any email with a score above 4.00
 +
* 'autolearn' as HAM any email with a score below 0.10
 
* enable RHSBL using the default SBLList.  Note that rhsbl checking has been known to place a heavy burden on SME servers.
 
* enable RHSBL using the default SBLList.  Note that rhsbl checking has been known to place a heavy burden on SME servers.
 
* enable DNSBL using the default RBLList
 
* enable DNSBL using the default RBLList
501

edits

Navigation menu