Differences between revisions 7 and 8
Revision 7 as of 2005-04-10 23:23:21
Size: 1522
Editor: jnewman
Comment:
Revision 8 as of 2009-09-20 23:17:03
Size: 1530
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
First, see [http://spamassassin.apache.org/full/3.0.x/dist/UPGRADE the UPGRADE file] from the distribution for the basic gotchas. First, see [[http://spamassassin.apache.org/full/3.0.x/dist/UPGRADE|the UPGRADE file]] from the distribution for the basic gotchas.
Line 11: Line 11:
   * [http://www.mickeyhill.com/mimedefang-howto/ MIMEDefang]: version 2.42 or later.
   * [http://qmail-scanner.sourceforge.net/ qmail-scanner]: version 1.23 or later.
   * [[http://www.mickeyhill.com/mimedefang-howto/|MIMEDefang]]: version 2.42 or later.
   * [[http://qmail-scanner.sourceforge.net/|qmail-scanner]]: version 1.23 or later.
Line 29: Line 29:
   * [http://www.scms.waikato.ac.nz/~jnewman1/opensource/sa3-upgrade.pl sa3-upgrade.pl]: Scripted 2.x to 3.x site-wide migration    * [[http://www.scms.waikato.ac.nz/~jnewman1/opensource/sa3-upgrade.pl|sa3-upgrade.pl]]: Scripted 2.x to 3.x site-wide migration

Upgrade Gotchas for 3.0.0

First, see the UPGRADE file from the distribution for the basic gotchas.

  • SpamAssassin 3.0.0 has a significantly different API (Application Program Interface) from the 2.x series of code. This means that if you use SpamAssassin through a third-party utility (milter, etc,) you need to make sure you have an updated version which supports 3.0.0, such as:

  • Configuration settings that include the word "hits" have generally been renamed to use the word "score" instead, for consistency.
  • If you were using always_add_report 1, you now need to put this in your config: add_header all Report _REPORT_
  • If you don't want bayes to auto learn, you now need to use "bayes_auto_learn 0" instead of "auto_learn 0"
  • For administrators of large sites who either permit individual user preferences or allow per user bayesian databases, here's a script that may help you upgrade from SA 2.x to 3.x. Bayesian database are converted along with the translation of deprecated user preferences to their newer syntax. Some site specific customisations will be required.


CategoryInstall

UpgradeTo300 (last edited 2009-09-20 23:17:03 by localhost)