tokens value

Milan Jovanovic milanj at bk.ru
Sat Oct 8 23:54:09 CEST 2005


-----Original Message-----
From: David Relson <relson at osagesoftware.com>
To: Milan Jovanovic <milanj at bk.ru>
Date: Sat, 8 Oct 2005 17:25:19 -0400
Subject: Re: tokens value

> 
> 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
Thanks David, that is what i need 
"echo token 17 3 | bogoutil -l /wordlist_dir/" - i didnt see that in faq or man pages ... this is all i need, this way i can manualy change token value .... can i add new token like this ?
Thanks again



More information about the Bogofilter mailing list