Hello,

I'm using AMaViSD with SpamAssassin.

local.cf:

# Enable the Bayes system
use_bayes               1

# Location of systemwide bayes databases
bayes_path              /var/amavis/.spamassassin/bayes

# Enable Bayes auto-learning
auto_learn              1

The bayes filter has trained with more than 200 spam messages. But if I call "spamassassin -D --lint" for debugging, I got these messages:

debug: bayes: 37413 tie-ing to DB file R/O
/var/amavis/.spamassassin/bayes_toks
debug: bayes: 37413 tie-ing to DB file R/O
/var/amavis/.spamassassin/bayes_seen
debug: Score set 3 chosen.
debug: Initialising learner
debug: dns_available set to yes in config file, skipping test
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=1.5
debug: bayes corpus size: nspam = 206, nham = 435
debug: tokenize: header tokens for *F =
"[EMAIL PROTECTED]"
debug: tokenize: header tokens for *m = " 1059984708 lint_rules "
debug: cannot use bayes on this message; db not initialised yet
debug: bayes: not scoring message, returning 0.5
debug: bayes: 37413 untie-ing
debug: bayes: 37413 untie-ing db_toks
debug: bayes: 37413 untie-ing db_seen

What does "debug: cannot use bayes on this message; db not
initialised yet" mean? How could I initialize the database?


Greets


Jan



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to