defining empty lines.

David Relson relson at osagesoftware.com
Sat May 17 21:51:25 CEST 2003


Greetings,

RFC2822 specifies "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).

Jeremy Blosser has encountered many spam messages where "\b\r\n" appears in 
this position.  Bogofilter is looking for the truly empty lines for writing 
out the "X-Bogosity" line (in passthrough mode) and gets it wrong for these 
messages.

It's easy enough to modify the code to treat any line consisting only of 
whitespace characters.

All in favor, say "Aye".

All opposed, say "Nay".

David

P.S. Alternate solutions are welcomed.





More information about the Bogofilter mailing list