Wierd bogofilter/procmail thing happening

Chris Huey cah at metro1.com
Tue Apr 15 03:08:35 CEST 2003


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

Here's my procmail recipe:

  ### BogoFilter settings:

  :0fw
  | /local/bin/bogofilter -p -e

  # if bogofilter failed, return the mail to the queue, the MTA will
  # retry to deliver it later  
  # 75 is the value for EX_TEMPFAIL in /usr/include/sysexits.h

  :0e
  { EXITCODE=75 HOST }



Any ideas why these would be different?  I'm stumped.

  Chris





More information about the Bogofilter mailing list