Craig
best to install Spamassassin from source or CPAN. I've seen lots of problems with the RPM based install. No specifically bayes but....
-- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300
Craig White wrote:
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
**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean.
**********************************************************************