You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris <cp...@earthlink.net> on 2005/11/01 03:29:57 UTC

Re: Finally upgraded

On Monday 31 October 2005 12:41 pm, help@nantucket.net wrote:
> I might add that im not totally opposed to dumping bayes info and
> starting fresh...would that be an easier solution?
>
>
>
> on 10/31/05 1:26 PM, Matthew.van.Eerde@hbinc.com at
>
The below is from the 3.1 upgrade text. I upgrade via CPAN also, however, I 
also download the source file and read the upgrade docs, etc.. before 
upgrading.

Due to the database format change, you will want to do something like
  this when upgrading:

  - stop running spamassassin/spamd (ie: you don't want it to be running
    during the upgrade)
  - run "sa-learn --rebuild", this will sync your journal.  if you skip
    this step, any data from the journal will be lost when the DB is
    upgraded.
  - upgrade SA to 3.0.0
  - run "sa-learn --sync", which will cause the db format to be upgraded.
    if you want to see what is going on, you can add the "-D" option.
  - test the new database by running some sample mails through
    SpamAssassin, and/or at least running "sa-learn --dump" to make sure
    the data looks valid.
  - start running spamassassin/spamd again

  If, instead of uprading your Bayes database, you want to wipe it and
  start fresh, you can run "sa-learn --clear" to safely remove your
  Bayes database files.  If the --clear command issues an error then
  you can simply delete the Bayes database files ("bayes_*") while SA
  is not running; SpamAssassin will recreate them in the current
  format when it runs.

HTH

-- 
Chris
Registered Linux User 283774 http://counter.li.org
20:27:16 up 25 days, 49 min, 3 users, load average: 5.90, 4.53, 2.65
Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Every kind action has a not-so-kind reaction
		-- Murphy's Love Laws n°8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~