User Tools

Site Tools


internet:hosting:virtualmin_spam_troubleshoot

This is an old revision of the document!


Troubleshoot Virtualmin Spam Filtering

https://www.virtualmin.com/node/39491

Scan a message as root:

spamassassin -D -t -p /home/processengineeringllc/homes/eiasillo/.spamassassin/user_prefs < /home/processengineeringllc/homes/eiasillo/Maildir/.spam/cur/1454619898.14251_0.www

Scan a message as a user:

su -s /bin/sh -c "spamassassin -D -t -p /home/processengineeringllc/homes/eiasillo/.spamassassin/user_prefs < /home/processengineeringllc/homes/eiasillo/Maildir/.spam/cur/1454565258.32109_0.www" - eiasillo

Train the Bayesian filter as a user:

su -s /bin/sh -c "sa-learn -D --spam --no-sync /home/processengineeringllc/homes/eiasillo/Maildir/.spam/{cur,new}" - eiasillo

Update rules (taken from /etc/cron.daily/spamassassin):

su - debian-spamd -c "sa-update --gpghomedir /var/lib/spamassassin/sa-update-keys"
internet/hosting/virtualmin_spam_troubleshoot.1454703635.txt.gz · Last modified: 2016/02/05 13:20 by gcooper