Posts Tagged ‘Spamassassin’

Keep the spamassassin filter rules up to date in ISPConfig 3

Friday, February 5, 2010 posted by Till

To update the spamassassin rules regularily on your ISPConfig 3 server, add the following line to the root crontab by running:

crontab -e


then insert the following line:

23 4 */2 * * /usr/bin/sa-update --no-gpg &> /dev/null


and save the file. The path to the sa-update script is /usr/bin/sa-update on Ubuntu and Debian Linux, if you use a different linux distrubution, run the command:

which sa-update


to find the location of the sa-update script and adjust the path in the crontab line above so that it matches the path on your system.

Since january 1 2010, spamassassin is falsely marking non spam emails as spam due to an error in the regular expression of the FH_DATE_PAST_20XX rule.

Description of the bug:

https://secure.grepular.com/blog/index.php/2010/01/01/spamassassin-2010-bug/

To fix this, run the following command on the shell as root user:

sa-update


If you use the software ISPConfig 2 on your server, run this command:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update