Bug 372066

Summary: kmail mangles the mime structure of some IMAP messages
Product: [Applications] kmail2 Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 4.14.10   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A diff of the sources of a mail that is mangled by KMail

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.
Comment 1 Justin Zobel 2022-10-27 02:48:48 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Erik Quaeghebeur 2022-11-02 20:58:32 UTC
Yes, I checked the same message and the problem is still there.