problems using bogofilter v0.11.1.3

David Relson relson at osagesoftware.com
Sat Apr 19 02:52:59 CEST 2003


At 08:36 PM 4/18/03, Torsten Kunkel wrote:

> > The 0.415 value indicates that bogofilter is not finding any tokens in its
> > wordlists.  Do you know if the wordlists have anything in
> > them?  "bogofilter -w $BOGOFILTER_DIR .MSG_COUNT" can be used to check
> > message counts.  Each time you run "bogofilter -s" or "bogofilter -n" you
> > should see the appropriate count go up.
>torsten at b5:~ > bogoutil -w /home/torsten/.bogofilter .MSG_COUNT
>                        spam   good
>.MSG_COUNT                7      0
>The number of "spam" increases everytime I run bogofilter -s,
>looks for me like it works correctly.
>But:
>torsten at b5:~ > bogofilter -v -d /home/torsten/.bogofilter/ < /freigabe/mail
>X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.11.1.3
>
>This is the same mail i send with -s through bogofilter.
>
> > You can test the parsing with command "bogolexer -p <message" which will
> > print the tokens in the message. If that looks right,
>It does look right.
>
> > try "bogofilter -vvv -d $BOGOFILTER_DIR < message" which will print
> > lots of output (which is described in the FAQ -
> > use the URL at the end of this message).
>
>torsten at b5:~ > bogofilter -vvv -d /home/torsten/.bogofilter/ < /freigabe/mail
>X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.11.1.3
>                                      n     pgood      pbad        fw 
> invfwlog     fwlog U
>"advanced"                           8       nan  1.000000       nan 
>nan       nan -
>[...]
>These lines are looking always the same for every token.
>[...]
>"your"                               8       nan  1.000000       nan 
>nan       nan -
>N_P_Q_S_s_x_md                       0  0.00e+00  0.00e+00  4.15e-01 
>1.00e-03  4.15e-01 0.10

You're getting the nan in the pgood column because your goodlist.db has no 
messages in it.  Try training with 1 (or more) good messages and then 
re-evaluate the spam message.

This problem was found in 0.11.1.4 and fixed in 0.11.1.5.

David





More information about the Bogofilter mailing list