Re: [Evolution] Corrupt Subject(and more) when saved to mbox



On Fri, 2015-11-06 at 15:21 +0000, Joakim Tjernlund wrote:
Saved the attached mail with an inline patch as a mbox
and ran dos2unix(as I always do to strip away those pesky CR+NL)
and the patch would not apply. 

The Subject: line has a line feed in it.

That's OK - in headers line feeds are allowed, the next line needs to
be indented and it's treated as a single line *by mail aware programs*.
Unfortunately dos2unix doesn't know about anything about mail!


This line also got line breaks:
@@ -2051,13 +2051,32 @@ static int __xipram
do_getlockstatus_oneblock(struct map_info *map,

Seems like evo forcefully breaks lines which are too long, even when
saved to mbox!

Is that attachment what the message really is?  Because it's actually
base64 encoded so line length of the actual content is irrelevant.
(look at the source of the original message to see if it's text or
encoded). It's also unlikely that patch will understand a base64
encoded email.

P.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]