bogoutil / message counts

Barry Gould BarryGould at PennySaverUSA.net
Thu May 8 21:26:08 CEST 2003


After running bogoutil (0.12.2) to clean up my dbs (convert non-ascii and 
remove tokens with count=1),
my MSG_COUNTs are totally different.

Is this a bug, or just a side-effect of the way bogoutil works?

I used:
bogoutil -n -d goodlist.db |  bogoutil -l goodlist.db.new -c 1

BTW, it's not clear if -n should be on the dump side or the load side of 
this command.
Also, I would have preferred to discard the non-ascii stuff (rather than 
convert to ?). I suppose I can do that with grep, though.

BEFORE:
# ./count.sh
-rw-r--r--    1 root     root          22M May  8 11:17 
/var/spool/mail/.bogofilter/goodlist.db
-rw-r--r--    1 root     root         5.1M May  8 11:17 
/var/spool/mail/.bogofilter/spamlist.db
                        spam   good
.MSG_COUNT            12745  34688
/var/spool/mail/.bogofilter/goodlist.db   505807
/var/spool/mail/.bogofilter/spamlist.db   123752


AFTER:
# ./count.sh
-rw-r--r--    1 root     root         4.7M May  8 12:14 
/var/spool/mail/.bogofilter/goodlist.db
-rw-r--r--    1 root     root         2.9M May  8 12:14 
/var/spool/mail/.bogofilter/spamlist.db
                        spam   good
.MSG_COUNT            30516  69380
/var/spool/mail/.bogofilter/goodlist.db   150368
/var/spool/mail/.bogofilter/spamlist.db   88193


Thanks,
Barry





More information about the Bogofilter mailing list