[CentOS] spamassassin [SOLVED]

Thu May 19 02:41:43 UTC 2005
Craig White <craigwhite at azapple.com>

On Mon, 2005-05-16 at 14:53 -0600, mbest at pendragon.org wrote:
> > Number two hit on Google purports a solution. Have you seen it?
> >
> > http://64.233.187.104/search?q=cache:7ANQ2UIWWeUJ:lists.elvandar.org/pip
> > ermail/spamassassin-users/2004-September/014432.html+%22bayes:+bayes+db+
> > version+0+is+not+able+to+be+used,+aborting!%22&hl=en
> >
> >
> > Searching less literally indicates this is an issue across many
> > distributions. Perhaps an email to spamassassin-users would help find a
> > solution.
> >
> > --
> > Marc
> 
> Summary is:
> Turn off Spamassassin (kill or service spamassassin stop)
> 
> sa-learn --sync -D
> 
> sa-learn --showdots --mbox --spam your_spam_box
> sa-learn --showdots --mbox --ham your_ham_box
> 
> Will let you know how this works, I had tried the --sync thing before, but
> then I would run into the problem a short while later.
----
apparently my issue was two different versions of spamassassin (the old
one wasn't removed when rpm was updated...

# ls -l /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm
-rw-r--r--    1 root     root        46653 Dec 14
2003 /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm

# ls -l /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm
-r--r--r--    1 root     root        21746 Oct 22
2004 /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm

Craig