I'm currently using SA 2.53 on a production side and I'd like to upgrade to 2.63
I'm looking for some informations regarding this step.
May I just use perl -MCPAN -e shell and issue an install Mail::SpamAssassin and this takes care of _anything_ ? I guess I should deinstall 2.53 first maybe? (that one was installed from an RPM)
Any other things to take care of to avoid longer-than-absolutely-needed downtime?
1) Read the INSTALL file from a copy of SA 2.63. Among other things, if you want to do bayes, you now need DB::File installed
2) If you made any customizations to /usr/share/spamassassin, get them out of there and put them in your /etc/mail/spamassassin/local.cf. /usr/share/spamassassin/* will be wiped out as a part of the upgrade.
3) if you use Razor, upgrade to razor 2.40, or apply the patch that comes with SA 2.63. SA runs in taint mode to improve security and older versions of razor are not taint-safe.
4) make sure you're version of cpan isn't old and buggy. I've seen some old versions of CPAN (ie: the one that came with redhat 7.1) decide to install a whole new copy of perl in order to install SA.
Other than that, you should be able to just upgrade via cpan, or download a tarball and install that way. I personally prefer the tarball method, but that's because I use the mass-check tools and such that are in the tarball, but most people don't need them.
