Hi,
I guess that I'm not the only one getting a lot of spam in my mailboxes.
I read about the "rules du jour" method to complement spamassassin and I was wondering if I implemented it in the right way.
I followed this wiki:
Howtos Spam Assassin Rules Du Jour Configuration
From 5dollarwhitebox.org Media Wiki
Jump to: navigation, search
This is the basics on how to install and configure Rules Du Jour for Spam Assassin:
Code:
install_rdj.pl: http://devel.5dollarwhitebox.org/scripts/install_rdj.pl
Code:
linuxbox #] wget http://devel.5dollarwhitebox.org/scripts/install_rdj.pl
linuxbox #] perl install_rdj.pl --install
Get Rules Du Jour:
Code:
linuxbox] # wget http://sandgnat.com/rdj/rules_du_jour
linuxbox] # mv rules_du_jour /usr/local/sbin/rules_du_jour
linuxbox] # chmod 750 /usr/local/sbin/rules_du_jour
Configure Rules Du Jour
Code:
linuxbox] # mkdir /etc/rulesdujour
linuxbox] # vi /etc/rulesdujour/config
The following is a basic configuration for Rules Du Jour
Code:
SA_DIR="/opt/zimbra/conf/spamassassin"
MAIL_ADDRESS="root"
SINGLE_EMAIL_ONLY="true";
SA_RESTART="/etc/init.d/psa-spamassassin restart"
TRUSTED_RULESETS="
TRIPWIRE
ANTIDRUG
SARE_EVILNUMBERS0
RANDOMVAL
SARE_ADULT
SARE_FRAUD
SARE_BML
SARE_SPOOF
SARE_BAYES_POISON_NXM
SARE_OEM
SARE_RANDOM
SARE_OBFU0
SARE_SPAMCOP_TOP200
" Run Rules Du Jour
Code:
linuxbox] # rules_du_jour
Crontab it
run
'crontab -e -u root' and add something similar to the following:
Code:
1 1 * * * /usr/local/sbin/rules_du_jour 2&>1 > /dev/null
Do I have to do something differently to make it work with zimbra. I did this and it worked, but I don't know if it does actually the job.
Thanks!