bogofilter 0.17.2 writing out X-Bogosity header and message separater as LF instead of CRLF
Pavel Kankovsky
peak at argo.troja.mff.cuni.cz
Tue Feb 24 19:15:31 CET 2004
On Mon, 23 Feb 2004, Jim Correia wrote:
> 1) The spam header written in write_message in passthrough.c:260 is LF
> terminated. Shouldn't it be CRLF terminated like the rest of the
> headers?
> 2) In write_body in the same file, it separates the message from the
> headers with LF LF. Again, shouldn't this be CRLF CRLF?
No & no. Most, if not all, unix MTAs use LF alone to separate lines when
the mail is stored in a local file (e.g. a BSD mailbox) or fed to a
local process. CRLF is for SMTP (and, ehm, for certain backward
platforms).
CRLF might be an option but it should not be the default setting.
--Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."
More information about the Bogofilter
mailing list