GNOME Bugzilla – Bug 256916
Mail source view showing unfolded (refolded) header lines
Last modified: 2005-08-19 04:17:00 UTC
Evolution 1.4.6 Mail source view don't display header lines the way they are folded in the message store/the way they were sent. Instead it seems that they are unfolded, and then refolded in different positions before displayed. This occurs both with messages received over IMAP and messages from local mbox-folder. Consider "Received: from foo\r\n\tvia smtp\r\n\t\r\n\tid foo-4573465786; Tue, 13 Apr 2004 10:17:00 +0200" This should be displayed like this: Received: from foo via smtp <<-- tab or whitespace, not empty line id foo-4573465786; Tue, 13 Apr 2004 10:17:00 +0200 However, currently this is what I get: Received: from beo via smtp id foo-4573465786; Tue, 13 Apr 2004 10:17:00 +0200 Note the double space after "smtp", before "id". This way of refolding is also somewhat counter to RFC2822, although still valid. In section 2.2.3 "Long Header Lines" it says that line breaking SHOULD be done on "higher-level syntactic breaks". I take that to mean that you should avoid splitting e.g. a timestamp between the time and the timezone, instead trying to split before or after the timestamp as a whole. I think that header folding should be preserved. Whether or not Evolution should also word-wrap (or add additional folding) on really long header lines could be discussed.
there's currently no way to preserve this information. there's been discussion about saving the raw header values and such without unwrapping them, but that would require a lot of changes to the code that uses those values.
*** bug 260055 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 235681 ***