Bug 372066 - kmail mangles the mime structure of some IMAP messages
Summary: kmail mangles the mime structure of some IMAP messages
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.10
Platform: Gentoo Packages Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-04 10:56 UTC by Erik Quaeghebeur
Modified: 2016-11-04 10:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
A diff of the sources of a mail that is mangled by KMail (1.29 KB, text/plain)
2016-11-04 10:56 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2016-11-04 10:56:15 UTC
Created attachment 102027 [details]
A diff of the sources of a mail that is mangled by KMail

Some mime message structures of IMAP messages are mangled by KMail or the IMAP Akonadi component (please change the component in that case). Namely, border strings are modified(!) and added, resulting in a message with invalid mime, which cannot be parsed correctly anymore by KMail.

An example is given in attachment with a diff between the source as returned by Thunderbird and as returned by KMail.

My guess is that KMail chokes on mime borders that are very similar or that it cannot distinguish for some reason.