Bug 345822 - Mail gets corrupted using IMAP/Kolab resource
Summary: Mail gets corrupted using IMAP/Kolab resource
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Kolab Resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 06:55 UTC by András Manţia
Modified: 2015-04-03 15:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.7


Attachments
How the message looks on server (46.03 KB, message/rfc822)
2015-04-03 06:55 UTC, András Manţia
Details
How the message looks in KMail (45.16 KB, application/mbox)
2015-04-03 06:55 UTC, András Manţia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2015-04-03 06:55:16 UTC
Created attachment 91868 [details]
How the message looks on server

A mail from a certain mailing list is always shown as corrupted in KMail, because the To field is somehow lost. I'm not sure if this is IMAP specific, though, but I had no time to debug inside the code.
Attached is the email as downloaded from Roundcube (good.eml) and from KMail (bad.mbox).
The problem is the following:
- in good.eml, there is a line To: undisclosed-recipients:;
- in bad.mbox this became: To

Which messes up header and mail parsing.
If you open good.eml in KMail all is fine, so the real problem is that the "undisclosed-recipients:;" got lost at some place (message reassembly after download? ).
Comment 1 András Manţia 2015-04-03 06:55:36 UTC
Created attachment 91869 [details]
How the message looks in KMail
Comment 2 Laurent Montel 2015-04-03 12:05:48 UTC
Git commit a1eb0ff976ce4d9bf426e30b547b637732399423 by Montel Laurent.
Committed on 03/04/2015 at 11:35.
Pushed by mlaurent into branch 'KDE/4.14'.

Fix store/load url.

Fix bug Bug 339195 - regression: bogofilter fails to manipulate message headers
Related: bug 339195
FIXED-IN: 4.14.7

M  +34   -0    mailcommon/filter/autotests/filteractionpipethroughtest.cpp
M  +1    -0    mailcommon/filter/autotests/filteractionpipethroughtest.h
M  +34   -0    mailcommon/filter/autotests/filteractionwithurltest.cpp
M  +3    -0    mailcommon/filter/autotests/filteractionwithurltest.h
M  +6    -4    mailcommon/filter/filteractions/filteractionwithurl.cpp

http://commits.kde.org/kdepim/a1eb0ff976ce4d9bf426e30b547b637732399423