Bug#219410: bogofilter: spuriously inserts X-Bogosity: in message *body*

David Relson relson at osagesoftware.com
Wed Nov 12 17:17:20 CET 2003


On Wed, 12 Nov 2003 10:11:48 -0500
Clint Adams <schizo at debian.org> wrote:

> > I'm using bogofilter with the following procmail recipe:
> > :0fw
> > | bogofilter -u -e -p
> > 
> > :0:
> > * ^X-Bogosity: Yes, tests=bogofilter
> > spam
> > 
> > However, I noticed that some messages contain a spurious extra
> > newline and the following at the end of the body:
> > X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=XXX
> > 
> > The spamicity value is always 0.415000, and looking at my archives
> > I can tell the problem exists at least since 0.14.5.2 (when I
> > started using bogofilter).
> 
> Can you reproduce this reliably with a particular message?]

This sounds familiar.  According to the RFC-2822:

  The body is simply a sequence of characters that follows the
  header and is separated from the header by an empty line
  (i.e., a line with nothing preceding the CRLF).

Can you check the message and see if there is truly an empty line, i.e.
two CRLF pairs in a row (or two LF's in a row).  My bet is that the line
contains whitespace and isn't actually empty.




More information about the Bogofilter mailing list