The "default" mbox Database Format specified in RFC 4155, Appendix A requires that
the canonical mbox database MUST use a single Line-Feed character (0x0A)
as the end-of-line sequence, and MUST NOT use a Carriage-Return/Line-Feed
pair (NB: ... ). This usage represents the most common historical
representation of the mbox database format, and allows for the least
amount of conversion.
Although RFC 4155 is not a formal standard for mbox, I believe it's nevertheless a good idea to adhere to the "default" format defined in RFC 4155 by default to improve interoperability, given that IETNG already decided to follow its requirement for From_ separator (#455).
Current Status
It is observed that the current IETNG implementation exports an mbox file mixing LF and CRLF: the first 3 lines (the From_ separator line, X-Mozilla-Status and X-Mozilla-Status2 header lines) terminates with LF, while the remaining lines terminates with CRLF.
An mbox database using CRLF as EOL causes problem for MUA like mutt, which displays unwanted ^M at the end of the Date and Subject headers.
Expected Behavior
Every line in the exported mbox database ends with LF instead of CRLF.
The "default" mbox Database Format specified in RFC 4155, Appendix A requires that
Although RFC 4155 is not a formal standard for mbox, I believe it's nevertheless a good idea to adhere to the "default" format defined in RFC 4155 by default to improve interoperability, given that IETNG already decided to follow its requirement for From_ separator (#455).
Current Status
It is observed that the current IETNG implementation exports an mbox file mixing LF and CRLF: the first 3 lines (the From_ separator line,
X-Mozilla-StatusandX-Mozilla-Status2header lines) terminates with LF, while the remaining lines terminates with CRLF.An mbox database using CRLF as EOL causes problem for MUA like mutt, which displays unwanted
^Mat the end of theDateandSubjectheaders.Expected Behavior
Every line in the exported mbox database ends with LF instead of CRLF.