procmail
[Top] [All Lists]

Re: formail header concatenation

2009-01-22 10:04:57
Ruud H.G. van Tol wrote:

AFAIK, the first whitespace character after the newline should be
discarded, because it is the functional whitespace. In this way you
can have a break inside long strings without any embedded whitespace.

RFC2822 only allows for folding a header line where there is whitespace,
so a long string cannot be folded in the middle:

"For convenience however, and to deal with the 998/78 character
limitations per line, the field body portion of a header field can be
split into a multiple line representation; this is called "folding". 
The general rule is that wherever this standard allows for folding
white space (not simply WSP characters), a CRLF may be inserted before
any WSP."

(from http://www.ietf.org/rfc/rfc2822.txt)


/Per Jessen





____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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