New version of bogofilter-milter.pl
Jonathan Kamens
jik at kamens.us
Tue Nov 1 03:41:30 CET 2011
For those of you who use bogofilter-milter.pl, the Milter implementation
of bogofilter filtering I wrote, there is a new version available at
http://stuff.mit.edu/~jik/software/bogofilter-milter/bogofilter-milter.pl.txt
<http://stuff.mit.edu/%7Ejik/software/bogofilter-milter/bogofilter-milter.pl.txt>
which you should replace the version you're using with (David, please
take this new version for the contrib directory in the bogofilter
distribution).
This fixes a bug in the handling of incoming messages larger than one
million bytes, or whatever you change the $MAX_INCORE_MSG_LENGTH limit
to in the script, if you change it. In particular, the bug caused
messages at least this large to be "chunked" into blocks of that many
bytes, with only the last chunk preserved to be fed into bogofilter
and/or archived in $archive_mbox or $ham_archive_mbox.
I am grateful for Stephen Davies for not only pointing out the bug to
me, but also doing a great deal of troubleshooting on it and pointing me
right at the problematic code. Even with his help, however, I had to
stare at the code for several hours before I figured out the problem. I
hate bugs like that. :-/
As always, please let me know if you have any questions, comments or
suggestions about bogofilter-milter.
Regards,
Jonathan Kamens
More information about the Bogofilter
mailing list