Adding SoughtRules to Spamassassin

I felt that our spam filter was not as ‘sharp’ as it had been in the past, so it was time to add some extra bite. A colleague had recommended the SoughtRules so i thought I’d give them a go. To utilise them use the sa-update with an extra channel. I’m using FreeBSD (obviously) and heres how to set up:

1. Fetch the gpg key and install it to the keyring

sa-update --import GPG.KEY

2. Test the system

sa-update -v --gpgkey 6C6191E3 --channel --channel

Confirm bu checking the files have been installed:

# ls -lah /var/db/spamassassin/3.003002/sought_rules_yerp_org
total 80
drwxr-xr-x  2 root  wheel   512B Nov 27 18:16 .
drwxr-xr-x  4 root  wheel   512B Nov 27 18:17 ..
-rw-r--r--  1 root  wheel    30k Nov 27 18:16
-rw-r--r--  1 root  wheel    35k Nov 27 18:16
-rw-r--r--  1 root  wheel    52B Nov 27 18:16 MIRRORED.BY

3. Add to /etc/crontab

# Update the sa sigs
00      */6       *       *       *       root    /usr/local/bin/sa-update -v --gpgkey 6C6191E3 --channel --channel
This entry was posted in FreeBSD Administration and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *