I just registered the same spam 106 times. What should I do now?

David Relson relson at osagesoftware.com
Sun Feb 22 06:02:05 CET 2004


On Sat, 21 Feb 2004 18:42:55 -0800
Chris Fortune wrote:

> Thanks again, David!
> 
> That didn't work the first time until I spotted a small typo:
> 
> $ bogofilter -d old.db | grep -v 20040221 | bogoutil -l new.db
> $ bogoutil   -d old.db | grep -v 20040221 | bogoutil -l new.db  <==
> WORKS
> 
> Producing this result:
> $ ls -al
> -rw-r--r--    1 joebogo  joebogo   9625600 Feb 21 20:29 new.db
> -rw-r--r--    1 joebogo  joebogo  14323712 Feb 21 19:46 wordlist.db
> 
> This would be a Very Useful function to add to future releases of
> bogoutil.
> 
> 
> Strange, but now the message count is 0:
> $ bogoutil -w new.db .MSG_COUNT
>                        spam   good
> .MSG_COUNT                0      0
> 
> Is this a bug or a feature?
> 
> Chris

It's the second flaw in what I suggested (with the first being the
typo).  Do this as well:

    bogoutil -d old.db | grep ^\.MSG_COUNT | bogoutil -l new.db

it will add the .MSG_COUNT token from old.db into new.db.





More information about the Bogofilter mailing list