[Spambayes] Email package and the CRLF pair

Charles Cazabon python-spambayes at discworld.dyndns.org
Sat Apr 19 14:10:04 EDT 2003


Paul Moore <lists at morpheus.demon.co.uk> wrote:
> >
> > I hadn't bothered to look that far, but yes it does.  It (RFC2822) says:
> >     "CR and LF MUST only occur together as CRLF; they MUST NOT appear
> >      independently in the body."
> 
> OK, that's definitive. But reality differs. Look at any mbox file on a
> Unix system and you'll see LF terminators.

rfc822 and 2822 only govern the message on-the-wire.  Hosts /always/ use the
native line ending of the system to store the message on-disk.

rfcs in general only apply to protocols as they appear on the wire.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                 <python-spambayes at discworld.dyndns.org>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------



More information about the Spambayes mailing list