Bug 1162 - spamd fails to find per-user bayes database
Summary: spamd fails to find per-user bayes database
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-26 22:09 UTC by Bart Schaefer
Modified: 2002-10-29 22:34 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
Create new per-user Bayes objects patch None Bart Schaefer [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Schaefer 2002-10-26 22:09:01 UTC
spamassassin -D shows this:

debug: bayes: tie-ing to DB file R/O /home/schaefer/.spamassassin/bayes_count
debug: bayes: tie-ing to DB file R/O /home/schaefer/.spamassassin/bayes_toks_ham
debug: bayes: tie-ing to DB file R/O /home/schaefer/.spamassassin/bayes_toks_spam
debug: bayes: tie-ing to DB file R/O /home/schaefer/.spamassassin/bayes_probs
debug: bayes: tie-ing to DB file R/O /home/schaefer/.spamassassin/bayes_seen
debug: bayes corpus size: nspam = 243, nham = 346

spamd -D shows (upon connection from spamc):

logmsg: processing message <message-id> for schaefer:674, expecting 2126 bytes.
debug: corpus too small (0 < 200), skipping
debug: bayes: not scoring message, returning 0.5
Comment 1 Bart Schaefer 2002-10-27 10:24:10 UTC
Created attachment 429 [details]
Create new per-user Bayes objects
Comment 2 Bart Schaefer 2002-10-27 10:25:47 UTC
Patched as attachment 429 [details].  I'm not entirely happy with the patch as it pierces
the SpamAssassin object abstraction, but it gets the job done.
Comment 3 Justin Mason 2002-10-30 07:34:09 UTC
I've checked in a change which does essentially this (along with a load
of interface consolidation and simplification, and some refactoring ;).

so FIXED until a bug crops up in all those changes ;)