Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 8: Line 8:     
====Bayes====
 
====Bayes====
  yum install perl-Mail-IMAPClient --enablerepo=extras
+
  yum install perl-Mail-IMAPClient --enablerepo=smecontribs
    
Create a new script-file:
 
Create a new script-file:
Line 94: Line 94:  
====Zarafa====
 
====Zarafa====
 
Create a user-account in Zarafa for reading the public spam-folders.  
 
Create a user-account in Zarafa for reading the public spam-folders.  
  db method, Replace the <MyPassword> with a proper strong password.
+
 
 +
db method, Replace the <MyPassword> with a proper strong password.
 
   zarafa-admin -c 'SpamAdmin' -p '<MyPassword>' -f 'Spam Administration Account' -e root@localhost
 
   zarafa-admin -c 'SpamAdmin' -p '<MyPassword>' -f 'Spam Administration Account' -e root@localhost
+
If you have configured Zarafa to use the unix method and if you enable Zarafa usage on a per user base:
  unix method, if per user
   
   db accounts setprop SpamAdmin zarafa enabled
 
   db accounts setprop SpamAdmin zarafa enabled
 
   /etc/e-smith/events/actions/qmail-update-user
 
   /etc/e-smith/events/actions/qmail-update-user
Line 118: Line 118:  
====Cron====
 
====Cron====
 
Create a new crontab fragment:
 
Create a new crontab fragment:
   pico /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn
+
   nano -w /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn
    
Add the following to the template (change the execution times to your own likings -- [http://en.wikipedia.org/wiki/Cron Wikipedia on Cron]):
 
Add the following to the template (change the execution times to your own likings -- [http://en.wikipedia.org/wiki/Cron Wikipedia on Cron]):
Line 144: Line 144:  
These commands will:
 
These commands will:
 
* enable bayesian filter
 
* enable bayesian filter
* 'autolearn' as SPAM any email with a score above 4.00
+
* 'autolearn' as SPAM any email with a score above 6.00
 
  Note: SpamAssassin requires at least 3 points from the header, and 3 points from the body
 
  Note: SpamAssassin requires at least 3 points from the header, and 3 points from the body
 
  to auto-learn as spam.
 
  to auto-learn as spam.
167

edits

Navigation menu