On Mon, 14 Jul 2003, Luiz Lima wrote: > How can I tell if bayes is actually working on my setup? I have a > amavisd-new + sa setup and, although my bayes database gets updated and is > checked when I run SA on it own, I'm yet to see any bayes rules being > applied to e-mails I personally get (and I do get a lot of e-mails). > [snip...]
> I have auto-learn turned on, so I assume I have enough entries to get it > going. Running "spamassassin --lint -D" tells me "bayes corpus size: nspam = > 4971, nham = 36411", while check_bayes_db tells me different: > > 0.000 0 16 0 non-token data: nspam > 0.000 0 10 0 non-token data: nham > > If I should trust the second, not doubt why it isn't working. But why/how is > it different? Luiz, Which bayes database did you tell "check_bayes_db"to check? By default, it checks your personal bayes database, not the system-wide one. On the mail server (or the system running spamd) look in the "local.cf" config file for the value of the 'bayes_path' variable. Feed that to check_bayes_db and see what you get. EG: My bayes_path == /etc/mail/spamassassin/bayes/bayes Running check_bayes_db with the argument: check_bayes_db -dbpath=/etc/mail/spamassassin/bayes/bayes produces a -LOT- of output. ;) -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk