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/05 14:08] gcooper |
internet:hosting:virtualmin_spam_troubleshoot [2016/02/10 09:36] (current) gcooper |
||
---|---|---|---|
Line 6: | Line 6: | ||
:!: All dashes, spaces and punctuation are important. | :!: All dashes, spaces and punctuation are important. | ||
+ | |||
+ | ===== Check for Needed Perl Modules ===== | ||
+ | |||
+ | < | ||
+ | spamassassin -D --lint 2>&1 | grep -i failed | ||
+ | </ | ||
+ | |||
+ | ===== Permissions ===== | ||
+ | |||
+ | :!: Provisional - Be careful with this - Example is for Ubuntu 14.04 | ||
+ | |||
+ | :!: Use '' | ||
+ | |||
+ | Permissions on '' | ||
+ | |||
+ | < | ||
+ | chown -R debian-spamd.debian-spamd / | ||
+ | find / | ||
+ | find / | ||
+ | chmod 700 / | ||
+ | find / | ||
+ | |||
+ | reboot | ||
+ | </ | ||
+ | |||
+ | ===== Scan a Message ===== | ||
Scan a message using the '' | Scan a message using the '' | ||
Line 24: | Line 50: | ||
su -s /bin/sh -c " | su -s /bin/sh -c " | ||
</ | </ | ||
+ | |||
+ | ===== Bayesian Filter ===== | ||
Train the Bayesian filter as a user: | Train the Bayesian filter as a user: | ||
Line 30: | Line 58: | ||
su -s /bin/sh -c " | su -s /bin/sh -c " | ||
</ | </ | ||
+ | |||
+ | ===== Rules Updates ===== | ||
Update rules (taken from ''/ | Update rules (taken from ''/ | ||
Line 40: | Line 70: | ||
</ | </ | ||
- | Permissions on '' | ||
- | |||
- | < | ||
- | chown -R debian-spamd.debian-spamd / | ||
- | find / | ||
- | find / | ||
- | chmod -R o-rwx / | ||
- | |||
- | reboot | ||
- | </ |