Hi,
I implemented the SARE/OpenProtect rules on a previous hosting server, so I decided to try them out on our new Virtualmin server.
I post this here for two reasons:
-
I would appreciate any critiques or improvements. Is this a good idea? What’s the down side?
-
It might help others fight spam.
First off, on my Centos 5.5 Virtualmin server, I found that the sa-updates cron job was commented out by default. Is there a reason for that? I uncommented it so it will automatically update the Spamassassin rules.
http://saupdates.openprotect.com
wget http://saupdates.openprotect.com/pub.gpg
sa-update --import pub.gpg
sa-update --allowplugins --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com
vi /etc/cron.d/sa-update
Add one very long line:
23 4 */2 * * root /usr/bin/sa-update --allowplugins --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com 2>&1 | tee -a /var/log/sa-update.log
cat /var/log/sa-update.log
ll /var/lib/spamassassin/3.002005/saupdates_openprotect_com
Test/debug:
sa-update -D --allowplugins --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com
service spamassassin restart
Thanks,
G