bogoutil -R (was Re: Adjusting ROBX and ROBS?)

David Relson relson at osagesoftware.com
Wed Dec 22 00:20:11 CET 2010


On Tue, 21 Dec 2010 10:27:14 -0500
Matt Garretson wrote:

> On 12/20/2010 8:42 PM, David Relson wrote:
> > The value is saved using a special token name, i.e. ".ROBX".
> > Bogofilter's parsing rules do not allow a leading "." at the start
> > of a token, so the special token is never confused with something
> > in a message being scored.  The database is a convenient place for
> > bogofilter to keep special information such as this setting.
> 
> 
> 
> Does the value stored in the .ROBX token override (or otherwise
> interact with) the value of robx set in the active bogofilter.cf file?
> 
> 
> Thanks,
> -Matt

Good question!

The value in bogofilter.cf overrides the value in the wordlist.  In
function score_initialize() in file score.c, if min_dev, or
spam_cutoff, or robs hasn't been set (or has been set to 0), the
default value for that parameter is applied.  Similarly, if robx is
zero or not set, it is retrieved from the wordlist.

Regards,

David



More information about the Bogofilter mailing list