Changes

From SME Server
Jump to navigationJump to search
m
Corrected some typo's, added some info
Line 27: Line 27:  
   remove: --showdots
 
   remove: --showdots
   −
Set proper rights on the script:
+
Set proper permissions on the script:
   chmod 550 /usr/bin/DMZS-sa-learn.pl
+
   chmod 555 /usr/bin/DMZS-sa-learn.pl
    
Login to Zarafa with an account that has admin rights and make two new folders LearnAsSpam and LearnAsHam under: Public folder > Public folders.
 
Login to Zarafa with an account that has admin rights and make two new folders LearnAsSpam and LearnAsHam under: Public folder > Public folders.
Line 48: Line 48:  
   pico /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn
 
   pico /etc/e-smith/templates/etc/crontab/91_SpamAssasinLearn
   −
Add the following to the template (change the execution times to your own likings):
+
Add the following to the template (change the execution times to your own likings -- [http://en.wikipedia.org/wiki/Cron Wikipedia on Cron]):
 
   # Running the Spamassasin Bayesian SPAM learning script every hour from 8:00 to 22:00 during weekdays
 
   # Running the Spamassasin Bayesian SPAM learning script every hour from 8:00 to 22:00 during weekdays
   * 8-22 * * 1-5 root /usr/bin/DMZS-sa-learn.pl
+
   0 8-22 * * 1-5 root /usr/bin/DMZS-sa-learn.pl
    
Make the new fragment active by expanding the template:
 
Make the new fragment active by expanding the template:
167

edits

Navigation menu