Try and run:

sa-learn --dump magic



Should give you some information like:

0.000          0          3          0  non-token data: bayes db version

0.000          0     493422          0  non-token data: nspam

0.000          0    3867414          0  non-token data: nham

0.000          0     937781          0  non-token data: ntokens

0.000          0 1573870989          0  non-token data: oldest atime

0.000          0 1574715499          0  non-token data: newest atime

0.000          0          0          0  non-token data: last journal sync atime

0.000          0 1574712064          0  non-token data: last expiry atime

0.000          0     812640          0  non-token data: last expire atime delta

0.000          0     204342          0  non-token data: last expire reduction 
count



Do note that every user has it's own DB ... can be overriden with

bayes_sql_override_username bayes



So if either "spamd" user or your own runs it  ... you should get the same 
result ... 



( I'm actually running it in PgSQL, can't remember what the file based is 
called )



mvh

Mikael Syska



---- On Sun, 24 Nov 2019 19:35:16 +0100 Jerry Malcolm <techst...@malcolms.com> 
wrote ----


Thanks again to everyone who helped me get everything up and running 
over the past couple of days. 
 
Now that I have SA finding my bayes database, I'm curious about bayes 
reporting.  My bayes db is not new.  I migrated my previous bayes db 
from my old installation.  And I've been training it with ~100+ new spam 
messages in the past day.  But I'm concerned that I'm not seeing 
anything related to bayes in any scoring report. Nothing on any spam 
message or good message over the past hundreds of message that have 
arrived since getting bayes up and running in SA.  I would expect at 
least some messages to have a bayes rule fire, either positively or 
negatively, or even just a 0.0 score based on bayes analysis.  Is it 
possible that after all of the setup I've done that bayes is still not 
activated?  Is there a way to force a bayes entry in the scoring summary 
for an email just to confirm that it is indeed part of the scoring 
process for spamd? I added "use_bayes 1" to the config just in case.  
But no difference.  I've got allow_tell activated, and training with an 
email is giving me a good rc (It was correctly giving an error before I 
added allow_tell).  Just nothing in the scoring results for any email.

Reply via email to