User Tools

Site Tools


internet:hosting:virtualmin_spam_troubleshoot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:hosting:virtualmin_spam_troubleshoot [2016/02/06 11:53]
gcooper
internet:hosting:virtualmin_spam_troubleshoot [2016/02/10 09:36] (current)
gcooper
Line 25: Line 25:
 find /var/lib/spamassassin -type f -exec chmod 644 {} \; find /var/lib/spamassassin -type f -exec chmod 644 {} \;
 find /var/lib/spamassassin -type d -exec chmod 775 {} \; find /var/lib/spamassassin -type d -exec chmod 775 {} \;
-chmod -R o-rwx /var/lib/spamassassin/sa-update-keys/+chmod 700 /var/lib/spamassassin/sa-update-keys 
 +find /var/lib/spamassassin/sa-update-keys -type f -exec chmod 600 {} \;
  
 reboot reboot
Line 49: Line 50:
 su -s /bin/sh -c "spamassassin -D -t -p /home/<virtual-server>/homes/<username>/.spamassassin/user_prefs < /home/<virtual-server>/homes/<username>/Maildir/.spam/cur/<junk_message>" - <username> su -s /bin/sh -c "spamassassin -D -t -p /home/<virtual-server>/homes/<username>/.spamassassin/user_prefs < /home/<virtual-server>/homes/<username>/Maildir/.spam/cur/<junk_message>" - <username>
 </file> </file>
 +
 +===== Bayesian Filter =====
  
 Train the Bayesian filter as a user: Train the Bayesian filter as a user:
Line 55: Line 58:
 su -s /bin/sh -c "sa-learn -D --spam --no-sync /home/<virtual-server>/homes/<username>/Maildir/.spam/{cur,new}" - <username> su -s /bin/sh -c "sa-learn -D --spam --no-sync /home/<virtual-server>/homes/<username>/Maildir/.spam/{cur,new}" - <username>
 </file> </file>
 +
 +===== Rules Updates =====
  
 Update rules (taken from ''/etc/cron.daily/spamassassin''): Update rules (taken from ''/etc/cron.daily/spamassassin''):
internet/hosting/virtualmin_spam_troubleshoot.1454784816.txt.gz · Last modified: 2016/02/06 11:53 by gcooper