Bug 357606 - All the mails from one of my contacts cannot be displayed
Summary: All the mails from one of my contacts cannot be displayed
Status: REPORTED
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-06 08:41 UTC by Éric Brunet
Modified: 2022-10-30 08:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
One message that kmail cannot read but that mutt can read (26.75 KB, application/mbox)
2016-01-06 08:43 UTC, Éric Brunet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Éric Brunet 2016-01-06 08:41:57 UTC
I am using kmail 4.14.10 on an up-to-date fedora 23 linux machine.

One of my contacts are sending some mails (usually with attachments) which I am enable to read. When I try to open their message in kmail, the headers are correct (From:, To:, Date:) but the body of the message is replaced by the following gibberish:
           N¬Æ¦º[b¥ªíë,j¢Âú+«
Furthermore, the message is marked as "No HTML" (it is actually HTML+Text) and it doesn't see any attachment (there is one).

*) If I open the message on the web interface of my provider, everything works.
*) I can save the message locally from kmail with File->Save As into a .mbox file. Then, I can
    read the email and the attachment from the .mbox file with mutt
*) If I try to open the .mbox file from kmail, it still doesn't work.

It is very annoying and make kmail unusable for this particular contact.

I am attaching one of their emails to demonstrate the problem. What I actually did was:
  1) I saved one of their email into bugreport.mbox 
  2) I edited bugreport.mbox to replace all the names/addresses/Tel/etc with XXXXX. I tried
      not to change the number of characters.
  3) similarly, IP addresses and numeric IDs have been replaced by strings of 1.
  4) I removed the attached .pdf (encoded in base64) and replaced it by another dummy pdf
  5) I tried to recompute the values of the headers "Content-Length:" and "Lines:" to account
      for the modified .pdf

This way, bugreport.mbox should not contain any sensitive information. I checked that the resulting file could be viewed with mutt (including the attachment) but not with kmail.


Reproducible: Always
Comment 1 Éric Brunet 2016-01-06 08:43:04 UTC
Created attachment 96478 [details]
One message that kmail cannot read but that mutt can read
Comment 2 Éric Brunet 2016-01-06 08:44:38 UTC
Sorry, on the first line, please read that I am "unable" to read the messages, not "enable"...
Comment 3 Justin Zobel 2022-10-30 00:37:26 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 4 Éric Brunet 2022-10-30 08:38:09 UTC
Yes, I confirm the bug is still present.

Six (!!!!) years later, I saved my own attachment as a .mbox file, I configured kmail to treat this .mbox file as a  new "Receiving Account", i could see the subject and date of the e-mail, but the content displayed as N��Ʀ�[b�����,j����+��, with no attachment. As before, mutt was able to read the e-mail, and save the pdf file.

I also found the original e-mail in my 2016 archive, and the problem is still there.

What about you? Can't you reproduce the issue? I am really curious.

That being said, i no longer exchange e-mails with that specific contact, so I am no longer impacted.

Éric Brunet