Hello,

amavisd debug-sa | grep bayes gives me the following for each message
passing through our mail server:

[18178] dbg: bayes: database connection established
[18178] dbg: bayes: found bayes db version 3
[18178] dbg: bayes: Using userid: 1
[18178] dbg: bayes: corpus size: nspam = 1668, nham = 1649
[18178] dbg: bayes: tok_get_all: token count: 377
[18178] dbg: bayes: cannot use bayes on this message; none of the tokens
were found in the database
[18178] dbg: bayes: not scoring message, returning undef

(token count: 377 is the only part that changes with different emails).

In other words, bayes is not scoring at all.  Any ideas on what can be
wrong?  This is amavisd-new 2.5.0 and SA 3.2.0 and bayes is on Mysql.

sunny ~ # grep -i bayes /etc/mail/spamassassin/local.cf
#   Use Bayesian classifier (default: 1)
# use_bayes 1
#   Bayesian classifier auto-learning (default: 1)
bayes_auto_learn 0
bayes_auto_expire 0
#   Set headers which may provide inappropriate cues to the Bayesian
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status


Thank you
-- 
Eray

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to