does the X-Bogosity line mess up spamicity calculations?

Trevor Smith trevor at haligonian.com
Thu Aug 5 04:54:45 CEST 2004


On August 4, 2004 9:52 pm, Chris Wilkes wrote:

> David pointed this out to me a while ago:
>
> # s=/tmp/mail.txt
> # echo "X-Bogosity: No, tests=bogofilter, spamicity=0.000000,
> version=0.91.4" > $s # echo "Hi There" >> $s
> # echo "" > $s
> # echo "Body" >> $s
> # cat $s
> # bogofilter -I $s -vvv
>
> You can see it skips the X-Bogosity header.

hmph.

I'm not able to reproduce any output from the above instructions. I am *VERY* 
inexperienced with linux in general so bear with me.

1) Should there be a double greater than on line 4 so we append instead of 
overwrite?
# echo "" > $s

2) bogofilter doesn't do anything with the last line given except generate an 
error:
Extra arguments given, first: /tmp/mail.txt. Aborting.
Perhaps it should be:

bogofilter -l -vvv < $s

3) this generates a report, shows that it's not spam, but I don't see anything 
that illuminates anything about how it processes or doesn't process the 
X-Bogosity line:

X-Bogosity: No, tests=bogofilter, spamicity=0.520000, version=0.92.2
                                      n    pgood     pbad      fw     U
"head:Body"                           0  0.000000  0.000000  0.520000 -
N_P_Q_S_s_x_md                        0  0.000000  0.000000  0.520000
                                         0.017800  0.520000  0.375000




More information about the Bogofilter mailing list