tokens value

David Relson relson at osagesoftware.com
Sat Oct 8 23:25:19 CEST 2005


On Sat, 08 Oct 2005 21:56:42 +0400
Milan Jovanovic wrote:

> Hi to all .. one question
> How can I manulay set value for specific token ?

Hi Milan,

Good question!


There is no direct way to set a token's score to a particular value.
Each token has ham and spam counts and bogoutil can be used to display
the values and change them.

 "bogoutil -w /wordlist_dir/ token" will print the values for "token"

 "bogoutil -p /wordlist_dir/ token" will also print the token's Fisher
    score (also known as its spamicity)

 "echo token 17 3 | bogoutil -l /wordlist_dir/"  will add 17 to its
    spam count and 3 to its ham count..

You can also have bogofilter ignore a list of tokens, i.e. not include
them when scoring a message.  Search bogofilter's documents for info
about "ignore list".

HTH,

David




More information about the Bogofilter mailing list