I am using a Sparc/Solaris system with perl 5.8.0 and SpamAssassin 2.60
installed (SpamAssassin as a local installation).
I am having occasional problems with the bayes databases. From time to
time the bayesian classifier will fail with messages like:
Cannot open bayes databases /home/warp/.spamassassin/bayes_* R/O: tie failed:
Cannot open bayes databases /home/warp/.spamassassin/bayes_* R/W: tie failed:
Cannot open bayes databases /home/warp/.spamassassin/bayes_* R/W: tie failed:
(That's right, no reason for the failure is printed after those lines.)
Usually when this happens there are temporary bayes files in the
~./.spamassassin directory, none of which are functional by themselves.
Until now I have been able to fix this problem by waiting for a day
and then running "sa-learn --rebuild" which fixes the bayes database files.
I don't know why I have to wait a day, but sa-learn won't work earlier
(but will print messages like above).
And no, THERE'S NO LOCK FILE IN THE ~/.spamassassin DIRECTORY.
(Please read that again before you respond, thanks.)
Until now this problem has made spamassassin non-functional until I have
been able to fix the bayes database files.
Now, however, the problem is different:
There are no temporary files in the ~./spamassassin, but the files seem
ok (and no, there's still no lock file) and spamassassin is functional
except that it does not perform the bayesian scoring.
When I make a "sa-learn --rebuild" I get those "tie failed" messages
(with no reason why they failed). The same thing happens when I look
what spamassassin is doing (with "spamassassin -D").
It has been more than two days now since this happened, so I suppose
this is not going to fix itself alone.
I don't have the slightest idea why this is happening.
By the way, another small issue:
Everyone I know who uses the bayesian classifier with spamassassin have
reported to me that the database files in their ~/.spamassassin directory
take something like 1-2 megabytes (some of these people have given tens
of thousands of spams and non-spams to sa-learn). It does not matter
which version of spamassassin they are using (whether or not 2.60 or
an earlier one).
However, the files in my ~/.spamassassin directory take often up
to 10 megabytes of space.
(And yes, I do run "sa-learn --rebuild --force-expire" from time to time.)
Why, oh why?
- Warp
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk