CentOS 3.4
# rpm -qa spamassassin
spamassassin-3.0.3-1.1.el3.rf
# rpm -qa mailscanner
mailscanner-4.41.3-1

I start with starter db from Fortress Systems since my old bayes db from
2.6x was creamed by this same issue...

# spamassassin -p /etc/MailScanner/spam.assassin.prefs.conf -D --lint

much snippage...
debug: bayes: 5791 tie-ing to DB file R/O /etc/MailScanner/bayes/bay
debug: bayes: 5791 tie-ing to DB file
R/O /etc/MailScanner/bayes/bayes_seen
debug: bayes: found bayes db version 3

ok - looks good

# sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --dump magic
0.000          0          3          0  non-token data: bayes db version
0.000          0       1733          0  non-token data: nspam
0.000          0        313          0  non-token data: nham
0.000          0     140671          0  non-token data: ntokens
0.000          0 1051647943          0  non-token data: oldest atime
0.000          0 1095956416          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal
sync atime
0.000          0          0          0  non-token data: last expiry
atime
0.000          0          0          0  non-token data: last expire
atime delta
0.000          0          0          0  non-token data: last expire
reduction count

still looks good - but within 2 minutes...

# sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --dump magic

bayes: bayes db version 0 is not able to be used, aborting!
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm
line 160.
bayes: bayes db version 0 is not able to be used, aborting!
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm
line 160.
ERROR: Bayes dump returned an error, please re-run with -D for more
information

It seems that no matter how I execute things like...

sa-learn --rebuild 
or
sa-learn --sync -D

it always corrupts in this fashion.

Any clues?

Thanks
Craig

Reply via email to