[bogofilter] Bogofilter Mirrors, and new patch for 0.7.1

Adrian Otto aotto at aotto.com
Tue Sep 10 10:51:26 CEST 2002


Hi,

I've written a patch for bogofilter 0.7 that updates it to 0.7.1:
ftp://bogofilter.aotto.com/pub/bogofilter/bogofilter-0.7-0.7.1.diff

It changes a few things in main.c:

1) Applies the fix suggested yesterday by Paul Tomblin for the getopt
arguments.

2) If a message already has an X-Spam-Status header, it is ignored instead
of passed through in -p mode. A syslog message is logged if an existing
header is skipped.

3) Performance improvement for -p mode. Fewer string comparisons are
performed because of the evaluation sequence of the conditional that
indicates whether the header of body sections of the message are being
processed. This should improve the -p performance by an order of magnitude.

You can apply the patch to the bogofilter 0.7 source like this:

$ tar zxvf bogofilter-0.7.tar.gz
$ cd bogofilter-0.7
$ patch -p0 < bogofilter-0.7-0.7.1.diff
patching file main.c
$ make ; make install

If you prefer to download a complete modified source tree, It's available
here:
ftp://bogofilter.aotto.com/pub/bogofilter/bogofilter-0.7.1.tar.gz

I have also set up a mirror of Eric's bogofilter directory (updated 2X
daily) here:
http://bogofilter.aotto.com
ftp://bogofilter.aotto.com/pub/bogofilter/mirror/

Enjoy,

Adrian Otto





More information about the Bogofilter mailing list