ietf-smtp
[Top] [All Lists]

RFC2046 question/problem

2001-09-27 09:10:40


I'd be grateful if anyone on the list could either shed some light on the
following problem, or direct me towards a more suitable list for this
question (I realise this is not an SMTP related question, but I could
not see a more suitable list).


The problem is with MIME messages structured like the following:

==========================
From: sender(_at_)example(_dot_)org
To: recip(_at_)example(_dot_)org
Subject: legal message?
Date: Thu, 27 Sep 2001 14:47:52 +0100
MIME-Version: 1.0
Content-Type: text/plain; boundary="---- mime boundary ----"
<CRLF only line>
------ mime boundary ----

some text
------ mime boundary ------
==========================



The problem I see is that the CRLF line separating the header from the
body is trying to do double duty. RFC(2)822 claims this line as the
separator between the headers and body.

By my reading, RFC2046 (top of page 20) claims this line as part of the
MIME boundary - i.e. part of the body: "The boundary delimiter MUST occur
at the beginning of a line, i.e., following a CRLF, and the initial CRLF
is considered to be attached to the boundary delimiter line rather than
part of the preceding part."


So - it seems that messages formatted like the above (which include the
example in RFC2046) are not compliant with RFC2046 since the body lacks
the leading CRLF for the boundary.


Have I made an error or should this corner-case be addressed in any future
revision of RFC2046? If so, where should I register this point?


regards,

jb



<Prev in Thread] Current Thread [Next in Thread>