On Mon, Sep 20, 2004 at 12:47:21PM -0400, Dan wrote:
> I upgraded Berkeley DB from db3 to db4 recently (as well as upgrading
> Perl, Postfix, installing Amavis,  and a score of modules) and now
> Spamassassin is giving an error about the bayes db's:
> 
> My assumption is that the bayes db's need to be rebuilt, but I am not
> sure how to do that.  If I delete all of them, that will make the
> error go away, but I'll lose the data.  I tried running 'sa-learn
> --rebuild' and the db4 utility db_upgrade, but neither seemed to
> accomplish anything.

You'll want to upgrade the DB_File perl module as well.  In theory,
a db_upgrade or db_dump|db_load ought to fix the issue.

--rebuild doesn't do much for a BDB upgrade since it won't be able to
read the original DB to rebuild in the new format.

-- 
Randomly Generated Tagline:
egg  n.  liquid chicken

Attachment: pgpBWkbVswcmC.pgp
Description: PGP signature

Reply via email to