On Tue, Oct 19, 2010 at 11:40:10AM -0700, Murray S. Kucherawy wrote:

> Does this go for a header field in which there's a space between the name and 
> the colon as well?  For example:
> 
>       MIME-Version : 1.0

The *22 RFCs allow it, so Postfix does too.

Comments starting line 59 of src/global/is_header.c:

     * XXX RFC 2822 Section 4.5, Obsolete header fields: whitespace may
     * appear between header label and ":" (see: RFC 822, Section 3.4.2.).

> Sendmail, for example, corrects this and accepts it without starting
> the body there.

The Postfix MIME parser also strips the obsolete whitespace:

Comments starting line 866 of src/global/mime_state.c:

     * Normalize obsolete "name space colon" syntax to "name colon".
     * Things would be too confusing otherwise.

If MIME processing is disabled by the administrator, the above applies
only to the primary headers.

*Each* folded header-line may be up to 100k bytes in length. There is
no limit on the total length of all headers, other than the message
size limit.

-- 
        Viktor.

Reply via email to