-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of mbest@pendragon.org Sent: Monday, May 16, 2005 3:41 PM To: CentOS mailing list Subject: Re: [CentOS] spamassassin
pulling my hair out...
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.
This is exactly the same situation I was complaining about earlier
today.
It all comes down to something happening with the autolearn or
something
in the running Spamassassin causes the bayes db to become version 0
from
version 3, and stop working.
If anyone comes across a solution, we'll both be appreciative.
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
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.
-Mike
On Mon, 2005-05-16 at 14:53 -0600, mbest@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.
---- this of course changes nothing as it only takes a minute or so before it all dies
Craig
On Mon, 2005-05-16 at 14:53 -0600, mbest@pendragon.org wrote:
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.
this of course changes nothing as it only takes a minute or so before it all dies
Craig
This did seem to partially work for me.
I killed my postfix, spamassassin and amavis before I ran the --sync.
I got Spamassassin up and running and not complaining about bayes db version 0, however it's been hard for me to get sa-learn to inject spam into the bayes db. Right now it's sitting at 3 or 4 learned spam.
-Mike
centos-bounces@centos.org wrote on 05/17/2005 10:41:34 AM:
I got Spamassassin up and running and not complaining about bayes db version 0, however it's been hard for me to get sa-learn to inject spam into the bayes db. Right now it's sitting at 3 or 4 learned spam.
Have you considered using CRM-114 instead? I've had it running for over a year now and it works extremely well. The author is also a very nice person to deal with (and a TV star).
-- Matt
On Mon, 2005-05-16 at 14:53 -0600, mbest@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