Upgrading to SpamAssassin 3.3.x
The newer version of SpamAssassin contains many upgrades - up to, and including DKIM checks, an improved SQL settings implementation. You may want to upgrade to this version.
Upgrading is easy; just go through the following steps:
1.) Download SpamAssassin from: http://spamassassin.apache.org/downloads.cgi
% wget "http://apache.mirror.aussiehq.net.au//spamassassin/source/Mail-SpamAssassin-3.3.1.tar.gz"
2.) Unpack:
% tar xvfz Mail-SpamAssassin-3.3.1.tar.gz -C /usr/local/atmail/server_source/
% cd /usr/local/atmail/server_source/Mail-SpamAssassin-3.3.1
3.) Rename your previous SpamAssassin directory:
% mv /usr/local/atmail/spamassassin /usr/local/atmail/spamassassin.3.2
4.) Install the NetAddr::IP module:
% perl -MCPAN -e 'install NetAddr::IP'
5.) Install:
% perl Makefile.PL PREFIX=/usr/local/atmail/spamassassin/ && make && make install
6.) Move the local.cf and sqlsettings.cf files:
% cp /usr/local/atmail/spamassassin.3.2/etc/sqlsettings.cf /usr/local/atmail/spamassassin.3.2/etc/local.cf /usr/local/atmail/spamassassin/etc/mail/spamassassin/
7.) Restart services:
% /etc/init.d/atmailserver restart
Congratulations. Now you have SpamAssassin 3.3.x. Credits to the Apache Software Foundation (http://www.apache.org/) for making a tremendously amazing piece of software.

