12.x :確定你的貝葉斯過濾多少消息.

12.x: Determining how many messages your Bayesian Filter has learned from


 

This command can be used to determine how many messages have been processed and studied by the Bayesian filter in MDaemon's MDSpamD.

Open a command line from the start menu in Windows (type 'cmd' followed by enter).

Navigate to the disk that MDaemon is installed on.

Change the directory to the SpamAssassin directory under MDaemon (ex: cd c:\MDaemon\spamassassin).

Type the following, followed by enter: sa-learn -C ./rules --siteconfigpath=./default_rules --dump magic -D

You should see a table in response like this:

C:\MDaemon\SpamAssassin> sa-learn -C ./rules --siteconfigpath=./default_rules --dump magic -D

0.000 0 2 0 non-token data: bayes db version
0.000 0 3 0 non-token data: nspam
0.000 0 35 0 non-token data: nham
0.000 0 1403 0 non-token data: ntokens
0.000 0 1102728654 0 non-token data: oldest atime
0.000 0 1106169895 0 non-token data: newest atime
0.000 0 0 0 non-token data: last journal sync atime
0.000 0 0 0 non-token data: last expiry atime
0.000 0 0 0 non-token data: last expire atime delta
0.000 0 0 0 non-token data: last expire reduction count

The numbers you are interested are the nspam and nham values. In this example, SpamAssassin has learned from 3 spam messages and 35 ham (non-spam) messages.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章