[exim-dev] [Bug 1195] read_message_data_smtp should comply w…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1195] read_message_data_smtp should comply with RFC5321
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1195




--- Comment #1 from Phil Pennock <pdp@???> 2012-01-05 01:14:43 ---
Hrm, I thought Exim only accepted LF as equivalent if this was seen in the
first header lines, looks like I'm remembering the pre-2003 behaviour.

I suspect that the most interoperable approach is going to be to check up until
we reach the second non-header line; if only CRLF has been observed until this
point, then require CRLF going forward. If a mix has been observed, any
problems are generated entirely by the sending MTA/MUA and its their fault if
they didn't check an attachment for compatibility with the broken way they're
sending mail.

I say second non-header line, in case something is correctly composing the
headers and then doing something different for the body; with libraries for
generating email, this is very possible.

It *might* be worth having an ACL control option to affect this, such as
strict_crlf_lines.

Thoughts, folks?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email