Bug 268783

Summary: Some quoted printable emails are not displayed correctly
Product: [Applications] kmail Reporter: Ralf Jung <post>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ralf Jung 2011-03-17 21:03:27 UTC
Version:           1.13.5 (using KDE 4.5.5) 
OS:                Linux

Recently, I am experiencing weird email display problems in KMail: The displayed content starts with a part of the header, and the remaining text is not properly decoded - in addition, the two parts of the email (text and HTML) are both displayed on top of each other:

[quote begin]
Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable

[...]

Mit freundlichen Gr=FC=DFen
[...]
--_000_917DECA9F3B4254BA11A0BE2BC4DE8E67782B33A98RLSGDC1rlsgff_

Content-Type: text/html; charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=

hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40" =

xmlns:ns0=3D"urn:schemas-microsoft-com:office:smarttags">

<head>
[quote end]

Due to a somewhat weird email forwarding setup ;-) I also have the same emails available in GMX web interface, and they look all right there, and I can properly switch between HTML and Text version.

The email source code at the end of the header looks like this:

[quote begin]
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  

--_000_917DECA9F3B4254BA11A0BE2BC4DE8E67782B33A98RLSGDC1rlsgff_

Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable
[quote end]
Maybe KMail has an issue with that stale line in the header that has no content after the colon? On the other hand, other emails from the same sender work fine, and they use exactly the same encoding - there just is no 2nd newline after that weird random series of characters (and between the two lines of the header).

Reproducible: Sometimes




OS: Linux (x86_64) release 2.6.35-27-generic
Compiler: cc

I am using the bogofilter spam filter, set up with KMail's spam filter assistant, maybe that is related?
I temporarily disabled the filter and am now waiting for emails fro those problematic senders.
Comment 1 Ralf Jung 2011-03-18 12:16:35 UTC
Okay, it is NOT bogosort that's causing the issue. I am currently suspecting the email forwarding from GMX to my other account and will close the bug here if I can confirm that.
Comment 2 Ralf Jung 2011-03-20 16:26:00 UTC
The issue was caused by GMX, so I'm closing it. Sorry or the noise.