SA & 50_scores.cf - bayes db version2 is not able to be used
(fixed)
Magda Hewryk
MHewryk at SYMCOR.COM
Fri Feb 4 03:26:04 GMT 2005
Thanks! Works!
#root# sa-learn --sync -p /etc/Mailscanner/spam.assassin.prefs.conf
synced Bayes databases from journal in 1 seconds: 950 unique entries (1253
total entries)
#root# sa-learn --dump=magic
0.000 0 3 0 non-token data: bayes db version
0.000 0 2051 0 non-token data: nspam
0.000 0 53957 0 non-token data: nham
0.000 0 160368 0 non-token data: ntokens
0.000 0 1105352034 0 non-token data: oldest atime
0.000 0 1107487222 0 non-token data: newest atime
0.000 0 1107487416 0 non-token data: last journal sync
atime
0.000 0 1107470240 0 non-token data: last expiry atime
0.000 0 345600 0 non-token data: last expire atime
delta
0.000 0 6980 0 non-token data: last expire
reduction count
Thanks,
Magda
Steve Swaney
<steve.swaney at FSL
.COM> To
Sent by: MAILSCANNER at JISCMAIL.AC.UK
MailScanner cc
mailing list
<MAILSCANNER at JISC Subject
MAIL.AC.UK> Re: SA & 50_scores.cf - bayes db
version2 is not able to be used
02/03/2005 05:42
PM
Please respond to
MailScanner
mailing list
<MAILSCANNER at JISC
MAIL.AC.UK>
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!
------------------------ 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