SA & 50_scores.cf - bayes db version2 is not able to be used

Steve Swaney steve.swaney at FSL.COM
Thu Feb 3 22:42:20 GMT 2005


www.fsl.com
steve.swaney at fsl.com
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Magda Hewryk
> Sent: Thursday, February 03, 2005 5:35 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: SA & 50_scores.cf - bayes db version2 is not able to be used
>
> Anybody saw this error before?
>
> # sa-learn --dump=magic
>
> bayes: bayes db version 2 is not able to be used, aborting! at
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line
> 160.
> bayes: bayes db version 2 is not able to be used, aborting! at
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line
> 160.
> ERROR: Bayes dump returned an error, please re-run with -D for more
> information
>
>
> Thanks,
>
> Magda Hewryk

I quote from the UPGRADE field shipped with SpamAssassin 3.X.X.

"--------------------------
- The Bayesian storage modules have been completely re-written and now
  include Berkeley DB (DBM) storage as well as SQL based storage (see
  sql/README.bayes for more information).  In addition, a new format
  has been introduced for the bayes database that stores tokens in fixed
  length hashes (Bayes v3).  All DBM databases should be automatically
  converted to this new format the first time they are opened for write.
  You can manually perform the upgrade by running "sa-learn --sync"
  from the command line.
--------------------------"

Shutdown MailScanner and run:

        sa-learn --sync -p /etc/Mailscanner/spam.assassin.prefs.conf

You may need to modify the <path_to_ spam.assassin.prefs.conf> if you're not
running on a Linux system.

Steve

Steve Swaney
President
Fortress Systems Ltd.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list