Wierd bogofilter/procmail thing happening

David Relson relson at osagesoftware.com
Tue Apr 15 05:29:01 CEST 2003


At 09:08 PM 4/14/03, Chris Huey wrote:

>Greetings.  I'm new to the list (and new to bogofilter as well).  But I'm not
>new to a daily deluge of spam.  SpamAssassin gets rid of most of this but it's
>still not good enough for me.  I'm like that <G>
>
>Anyway. the wierd thing is this.  If I run the SpamAssassin 
>sample-spam.txt file
>through bogofilter, I get:
>
>
>   $ /local/bin/bogofilter -p -e < sample-spam.txt | grep X-Bogo
>   X-Bogosity: Yes, tests=bogofilter, spamicity=0.977225, version=0.11.2
>
>But, if I mail that same file to myself using procmail, I get:
>
>   mailx -s"Test" cah at metro1.com < sample-spam.txt
>   X-Bogosity: No, tests=bogofilter, spamicity=0.597879, version=0.11.2

As an additional detail, when you email the message it gets additional 
header info, i.e. additional tokens.  That will change the spamicity value.

As a test, you _could_ try scoring the body of the message, rather than the 
whole message.  I think it's the 'b' flag you'll need for procmail.  The 
man page will give the details.

Alternatively, take the _delivered_ message and evaluate it with bogofilter.





More information about the Bogofilter mailing list