On December 08, 2003 05:40 pm, Matt Barton wrote:
> Hello
> 
> It appears that I can easily see the number of Spam in our Bayes database 
> by issuing -D and --rebuild to sa-learn.  It shows up like this.
> 
> debug: bayes: Not available for scanning, only 603 spam(s) in Bayes DB <
> 1000
 
> How does one know how many "ham(s)" are in the Bayes database?
> 
> Please send your response to me off-list.  Thanks.

I do this:

p2sam-pc:~$ sa-learn --dump magic
0.000          0          2          0  non-token data: bayes db version
0.000          0       5545          0  non-token data: nspam
0.000          0        878          0  non-token data: nham
0.000          0     145067          0  non-token data: ntokens
0.000          0 1064607080          0  non-token data: oldest atime
0.000          0 1070921762          0  non-token data: newest atime
0.000          0 1070912124          0  non-token data: last journal sync 
atime
0.000          0 1070121039          0  non-token data: last expiry atime
0.000          0    5529600          0  non-token data: last expire atime 
delta
0.000          0      24877          0  non-token data: last expire reduction 
count

nspam, and nham are what you are looking for...

-- 
Modern man is the missing link between apes and human beings.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to