https://bugzilla.novell.com/show_bug.cgi?id=469222 User per.jessen@enidan.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469222#c6 --- Comment #6 from Per Jessen <per.jessen@enidan.com> 2009-01-27 01:59:43 MST --- (In reply to comment #4)
Note that unfolding in procmail is now RFC2822-compliant, but I still see continuation lines that start with an inserted <TAB> (or a <TAB> that replaced a <SPACE>).
I think a TAB is for readability, but a continuation line will always have at least one leading whitespace character.
We probably could implement an additional heuristic that replaces the special cases CRLF<TAB><SPACE> with <SPACE> and CRLF<TAB><OTHER> with <SPACE><OTHER>.
If we just remove the CRLF, we are in compliance with RFC-2822. Lines may only be folded where there is whitespace, and the CRLF is inserted before any whitespace.
From RFC-2822:
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. [snip] Unfolding is accomplished by simply removing any CRLF that is immediately followed by WSP. I think compliance is paramount as formail is typically used in scripts and procmail recipes on different distros, and it's important that it behaves in the same way everywhere. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.