[csw-users] RE: SpamAssassin 3.0

Alex S Moore asmoore at blastwave.org
Wed Sep 22 23:13:43 CEST 2004


SA 3.0 should be at your favorite CSW mirror in the next day or so.

This is a major upgrade.  The short set of need-to-know notes is at the
top of README.CSW.  A copy is attached.  Be sure to stop whatever
process is calling SA.  For me, that is mimedefang.

To restate things in case you are using a site-wide bayes database,
before getting the new package, run `sa-learn --rebuild`.  This will
update the database with changes that are only in bayes_journal.  After
the upgrade, run `sa-learn --sync` to upgrade the database.  If you get
a message about 'unable to use version 2.0 database', ignore it and be
patient.  The database upgrade may take a while.

Please read the documentation before using SA3.0.  There are many
changes and new features.

Finally, check permissions on the bayes database and
/opt/csw/etc/spamassassin directory and make any changes needed for your
environment.  Do not forget to run spamassassin in debug mode and lint
the rules to test out your environment.

Alex

-------------- next part --------------
Notes for the CSW spamassassin distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version 3.0 is a major upgrade.  Read all available information on upgrading.
See /opt/csw/share/doc/spamassassin UPGRADE for most of this information.

If you are using site-wide bayes, be sure to run `sa-learn --rebuild`
  before starting the package upgrade.  Before starting whatever
  process you are using to run SpamAssassin after the upgrade, run
  `sa-learn --sync` to upgrade the database to version 3.0 format.

Before starting spamassassin, run the following and look for warnings and
errors that need to be fixed.  Some scores are deprecated from version 2.x.
These will produce only warnings, but you may want to see if similar scores are available and make the appropriate adjustments.  Also, note the change in startup options in the UPGRADE file.

To test your configuration:
/opt/csw/bin/spamassassin -D --lint </opt/csw/share/doc/spamassassin/sample-spam.txt
If you are using a recent version of CSWmimedefang, temporarily copy /opt/csw/etc/sa-mimedefang.cf to /opt/csw/etc/spamassassin/ for testing.

After testing is complete and you are using a site-wide bayes database, you may want to convert the data before starting spamassassin.  Otherwise, your first email will run the conversion.  Run the following to do the conversion.
/opt/csw/bin/sa-learn --sync

When you are ready to activate spamassassin, do not forget to check that directory and file permissions in /opt/csw/etc/spamassassin are correct for your environment.

--
A /opt/csw/etc/spamassassin/local.cf will be installed if none exists.
The files in this will not be touched during deinstalltion, down or upgrade.

The /opt/csw/etc/spamassassin directory will be created as user root with
permissions 755  with it doesn't exist. But if you would like to change the
permissions later on the directory - they will be preserved again during
deinstallation, down or upgrade. So you can let spamd/spamc running as non-root
user.

You can find a example init script in
/opt/csw/share/doc/spamassassin/solaris-rc-script.sh .

There is also a razor packet available from blastwave, which could be installed
on demand manually. The spamassassin package doesn't depend on it, but will use
razor, if it is available.

--
Alex S Moore      <asmoore at blastwave.org>                             2004-02-14
Thomas Glanzmann  <thomas at blastwave.org>


More information about the users mailing list