xvii:~> sa-learn --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0 230 0 non-token data: nspam
0.000 0 2189 0 non-token data: nham
0.000 0 126544 0 non-token data: ntokens
0.000 0 1232582648 0 non-token data: oldest atime
0.000 0 1262456597 0 non-token data: newest atime
0.000 0 1264899751 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
xvii:~> spamassassin --lint -D 2>&1 | egrep -i 'bayes|error|warn|fail'
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed:
IP::Country::Fast ('require' failed)
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed:
Razor2::Client::Agent ('require' failed)
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed: Net::Ident
('require' failed)
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed: Mail::DKIM
('require' failed)
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed: DBI
('require' failed)
Jan 31 02:03:08.590 [18268] dbg: diag: [...] module not installed:
Encode::Detect ('require' failed)
Jan 31 02:03:08.645 [18268] dbg: plugin: loading
Mail::SpamAssassin::Plugin::Bayes from @INC
Jan 31 02:03:08.858 [18268] dbg: config: fixed relative path:
/var/lib/spamassassin/3.003000/updates_spamassassin_org/23_bayes.cf
Jan 31 02:03:08.858 [18268] dbg: config: using
"/var/lib/spamassassin/3.003000/updates_spamassassin_org/23_bayes.cf" for
included file
Jan 31 02:03:08.858 [18268] dbg: config: read file
/var/lib/spamassassin/3.003000/updates_spamassassin_org/23_bayes.cf
Jan 31 02:03:09.222 [18268] dbg: config: warning: score set for non-existent
rule SHORTCIRCUIT
Jan 31 02:03:09.222 [18268] dbg: config: warning: score set for non-existent
rule SUBJ_RE_NUM
Jan 31 02:03:09.222 [18268] dbg: config: warning: score set for non-existent
rule FM_VIAGRA_SPAM1114
Jan 31 02:03:09.223 [18268] dbg: config: warning: score set for non-existent
rule AXB_HELO_LH_HOME
Jan 31 02:03:09.223 [18268] dbg: config: warning: score set for non-existent
rule FH_DATE_PAST_20XX
Jan 31 02:03:09.223 [18268] dbg: config: warning: score set for non-existent
rule ACCESSDB
Jan 31 02:03:09.459 [18268] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x2e8b0d0) implements 'learner_new',
priority 0
Jan 31 02:03:09.460 [18268] dbg: bayes: learner_new
self=Mail::SpamAssassin::Plugin::Bayes=HASH(0x2e8b0d0),
bayes_store_module=Mail::SpamAssassin::BayesStore::DBM
Jan 31 02:03:09.480 [18268] dbg: bayes: learner_new: got
store=Mail::SpamAssassin::BayesStore::DBM=HASH(0x328f600)
Jan 31 02:03:09.480 [18268] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x2e8b0d0) implements
'learner_is_scan_available', priority 0
Jan 31 02:03:09.481 [18268] dbg: bayes: tie-ing to DB file R/O
/home/vinc17/.spamassassin/bayes_toks
Jan 31 02:03:09.481 [18268] dbg: bayes: tie-ing to DB file R/O
/home/vinc17/.spamassassin/bayes_seen
Jan 31 02:03:09.482 [18268] dbg: bayes: found bayes db version 3
Jan 31 02:03:09.482 [18268] dbg: bayes: DB journal sync: last sync: 1264899751
Jan 31 02:03:09.507 [18268] dbg: bayes: DB journal sync: last sync: 1264899751
Jan 31 02:03:09.508 [18268] dbg: bayes: corpus size: nspam = 230, nham = 2189
Jan 31 02:03:09.511 [18268] dbg: bayes: score = 0.342622550749849
Jan 31 02:03:09.511 [18268] dbg: bayes: DB expiry: tokens in DB: 126544, Expiry
max size: 150000, Oldest atime: 1232582648, Newest atime: 1262456597, Last
expire: 0, Current time: 1264899789
Jan 31 02:03:09.512 [18268] dbg: bayes: DB journal sync: last sync: 1264899751
Jan 31 02:03:09.512 [18268] dbg: bayes: untie-ing
Jan 31 02:03:09.889 [18268] dbg: rules: ran eval rule BAYES_40 ======> got hit
(1)
Jan 31 02:03:09.952 [18268] dbg: check:
tests=BAYES_40,MISSING_DATE,MISSING_HEADERS,NO_RECEIVED,NO_RELAYS
Jan 31 02:03:09.953 [18268] dbg: timing: total 1362 ms - init: 892 (65.5%),
parse: 0.67 (0.0%), extract_message_metadata: 1.25 (0.1%), get_uri_detail_list:
1.41 (0.1%), tests_pri_-1000: 8 (0.6%), compile_gen: 196 (14.4%), compile_eval:
25 (1.8%), tests_pri_-950: 4 (0.3%), tests_pri_-900: 5 (0.3%), tests_pri_-400:
13 (0.9%), check_bayes: 5 (0.4%), tests_pri_0: 385 (28.3%), tests_pri_500: 50
(3.7%)
But now, the Bayesian classifier is working again.
--
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]