internet:hosting:virtualmin_spam_troubleshoot
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
internet:hosting:virtualmin_spam_troubleshoot [2016/02/09 09:22] gcooper |
internet:hosting:virtualmin_spam_troubleshoot [2016/02/10 09:36] (current) gcooper |
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 |
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.1455034941.txt.gz · Last modified: 2016/02/09 09:22 by gcooper