Spam / ham registration issue

Greg Louis glouis at dynamicro.on.ca
Wed Mar 3 12:58:07 CET 2004


On 20040303 (Wed) at 2123:28 +1100, Tig wrote:
> Is this a bug or user error?
> 
> ~% mkdir bogo
> ~% cd bogo
> ~/bogo% echo "bogo is my friend" > t1
> ~/bogo% bogofilter -d ./ -s < t1
> ~/bogo% bogofilter -d ./ -v < t1
> X-Bogosity: Yes, tests=bogofilter, spamicity=0.999777, version=0.16.4
> ~/bogo% bogofilter -d ./ -n < t1
> ~/bogo% bogofilter -d ./ -v < t1
> X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.16.4
> ~/bogo% bogofilter -d ./ -s < t1
> ~/bogo% bogofilter -d ./ -v < t1
> X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.16.4
> ~/bogo% bogofilter -d ./ -s < t1
> ~/bogo% bogofilter -d ./ -v < t1
> X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.16.4
> ~/bogo% bogofilter -d ./ -s < t1
> ~/bogo% bogofilter -d ./ -v < t1
> X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.16.4

Looks like a bug to me.  I think the scores should be 0.415, 0.415,
0.529 and 0.538 for the four No results, assuming the default s, x and
min_dev.  Admittedly, a database with just two tokens in it is a bit
atypical, but fwiw I can reproduce what you see, using bogofilter
version 0.17.2.

-- 
| G r e g  L o u i s         | gpg public key: 0x400B1AA86D9E3E64 |
|  http://www.bgl.nu/~glouis |   (on my website or any keyserver) |
|  http://wecanstopspam.org in signatures helps fight junk email. |




More information about the Bogofilter mailing list