SpamAssassin Rules Emporium
And another project to update it automatically Rules Du Jour
For install it:
wget http://sandgnat.com/rdj/rules_du_jour
cp rules_du_jour /opt/rulesdujour
chmod +x /opt/rulesdujour
touch /etc/rulesdojour
vi /etc/rulesdojour There was a mistake, correct: vi /etc/rulesdujour
Code: Select all
TRUSTED_RULESETS="SARE_SPAMCOP_TOP200 SARE_ADULT SARE_EVILNUMBERS0 SARE_HEADER0 SARE_HTML0 SARE_OBFU0 SARE_GENLSUBJ0 SARE_URI0"; # Rules for autoupdated
SA_DIR="/etc/mail/spamassassin"; # SA local config
MAIL_ADDRESS="root"; # Where do Email notifications go
SA_LINT="spamassassin --lint"; # Command used to lint spamassassin
SA_RESTART="/etc/init.d/spamassassin restart"; # Command used to restart spamd
Go to Plesk admin panel:
Server -> Cron table -> Add
15 --> Minute
3 --> Hour
* --> All day
* --> All month
* --> All day of the week
/opt/rulesdujour >/dev/null 2>&1
Note:
Please choose a different time than 3:15 for your system's crontab so the servers hosting the rulesets aren't hammered at 3:15AM!! and do not schedule this to run more frequently than once per day.
More about this on http://www.exit0.us/ , thanks to Chris Thielen.