Hi,

I just fed sa-learn with a maildir of spam emails and it said it learnt from
them but bayes is reporting a significantly less number of learnt spams.

I am running this as the amavis user so I am pretty sure it is updating the
correct bayes database.

Before feeding the spam:
[EMAIL PROTECTED] amavis]$ check_bayes_db | less
0.000        0        0        0  non-token data: db format = on-the-fly
probs, expiry, scan-counting
0.000        0        8        0  non-token data: nspam
0.000        0      873        0  non-token data: nham
0.000        0     2938        0  non-token data: ntokens
0.000        0        0        0  non-token data: oldest age
0.000        0     2361        0  non-token data: current scan-count
0.000        0        0        0  non-token data: last expiry scan-count


Feeding time:
[EMAIL PROTECTED] amavis]$ cat trainbayes
#!/bin/bash
sa-learn --ham --dir /home/mail/amavis/maildir/.ham/cur/
sa-learn --spam --dir /home/mail/amavis/maildir/.spam/cur/
[EMAIL PROTECTED] amavis]$ ./trainbayes
/bin/bash: /root/.bashrc: Permission denied
Learned from 4 messages.
Learned from 134 messages.


After feeding:
[EMAIL PROTECTED] amavis]$ check_bayes_db | less
0.000        0        0        0  non-token data: db format = on-the-fly
probs, expiry, scan-counting
0.000        0       19        0  non-token data: nspam
0.000        0      873        0  non-token data: nham
0.000        0     2938        0  non-token data: ntokens
0.000        0        0        0  non-token data: oldest age
0.000        0     2518        0  non-token data: current scan-count
0.000        0        0        0  non-token data: last expiry scan-count


Now sa-learn said that it learnt from 134 messages but the nspam count only
went up 11 and the ntokens didn't go up at all.

WTF is happening here?

Regards,
+-----------------------------+---------------------------------+
| Peter Kiem            .^.   | E-Mail    : <[EMAIL PROTECTED]> |
| Zordah IT             /V\   | Mobile    : +61 0414 724 766    |
|   IT Consultancy &  /(   )\ | WWW       : www.zordah.net      |
|   Internet Services  ^^-^^  | ICQ       : "Zordah" 866661     |
+-----------------------------+---------------------------------+
       My current spamtrap address is [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to