Comment 27 for bug 50039

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Data Loss] KMail mysteriouslychanges      messages to"No Subject", "Unknown" sender

Chris here is a thread from kde-pim users.

---------- Forwarded Message ----------

Subject: Re: [kdepim-users] Messages with unknown subject, sender and time on KMail
Date: Monday 17 November 2008
From: Ingo Klöcker <email address hidden>
To: <email address hidden>

On Monday 17 November 2008, Paolo Pozzan wrote:
The start of the source:
=====
X-Apparently-To: <email address hidden> via 87.248.110.190; Sat, 15 Nov 2008 09:55:23 -0800
X-YMailISG:
aiyQQNkWLDvQVuFK9CMFjmoenCrrgbZD2POv8mHD1rBhnOi13L3sWKiDwUw9o5BU.9RSaiMIdheJTFAjsiChWn91_4U3kxoIST4w65HqDig9CxaBl8Xybh0x5rei7.6XDj1SmJMgG0U5Z.Vje1vtbHqCwpCZ9NIM1Y7k4dkSuKd2aEXBsfasRaKbKd20drycXFgbsiSUcbI.Xk2TqhRKSpJCBKIOXkoiM8vLLg1C6oA7BC8uwDP4R9hczzKzIo7KRCcPvmnSBTLG_0bhCMPLzUg7B.avVYUka7DUZ52KQLuFq6hkrsyauMD4U_dcBg0rg2ok.pWMoPOjFzZWKU8Wg.8UzamZwi4aud_n2NRufny0VRNJZO9ceduSXReMkjH01TM5v7AMeJXsK5nugu85z_CY1wg-
X-Originating-IP: [131.246.120.250]
Authentication-Results: mta347.mail.mud.yahoo.com from=yahoo.it; domainkeys=neutral (no
sig)
Status: RO
X-Status: RC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:

; from=yahoo.it; dkim=neutral (no sig)
Received: from 131.246.120.250 (HELO ktown.kde.org) (131.246.120.250)
  by mta347.mail.mud.yahoo.com with SMTP; Sat, 15 Nov 2008 09:55:22 -0800
=====

The lines
=====
Status: RO
X-Status: RC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:
=====
have been added by KMail, so the correct header should look as follows:
=====
X-Apparently-To: <email address hidden> via 87.248.110.190; Sat, 15 Nov 2008 09:55:23 -0800
X-YMailISG:
aiyQQNkWLDvQVuFK9CMFjmoenCrrgbZD2POv8mHD1rBhnOi13L3sWKiDwUw9o5BU.9RSaiMIdheJTFAjsiChWn91_4U3kxoIST4w65HqDig9CxaBl8Xybh0x5rei7.6XDj1SmJMgG0U5Z.Vje1vtbHqCwpCZ9NIM1Y7k4dkSuKd2aEXBsfasRaKbKd20drycXFgbsiSUcbI.Xk2TqhRKSpJCBKIOXkoiM8vLLg1C6oA7BC8uwDP4R9hczzKzIo7KRCcPvmnSBTLG_0bhCMPLzUg7B.avVYUka7DUZ52KQLuFq6hkrsyauMD4U_dcBg0rg2ok.pWMoPOjFzZWKU8Wg.8UzamZwi4aud_n2NRufny0VRNJZO9ceduSXReMkjH01TM5v7AMeJXsK5nugu85z_CY1wg-
X-Originating-IP: [131.246.120.250]
Authentication-Results: mta347.mail.mud.yahoo.com from=yahoo.it; domainkeys=neutral (no
sig)
; from=yahoo.it; dkim=neutral (no sig)
Received: from 131.246.120.250 (HELO ktown.kde.org) (131.246.120.250)
  by mta347.mail.mud.yahoo.com with SMTP; Sat, 15 Nov 2008 09:55:22 -0800
[...]
=====

Now the problem is the line starting with "; from". This line is not a valid line in an email message
header. Since it belongs to the preceding line it should start with some whitespace.

There are two possibilities:
a) Yahoo fails to add the Authentication-Results header in the correct format.
b) KMail corrupts the header when it receives the message.

I think b is highly unlikely because we would have noticed if there was such a serious bug in
KMail. a, OTOH, is probably not noticed by many other people because other mail clients are
probably more forgiving when they encounter such an invalid line in the header. You should be
able to verify whether it's Yahoo's fault by checking your mail with another mail client and then
looking at the source with this other mail client. Just make sure you do not check those
messages with KMail because that might corrupt them.

Regards,
Ingo

-------------------------------------------------------

Is this similar to your prob? do you have yahoo too?

--
BUGabundo :o)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net && Ubuntu LoCoTeam Portugal http://ubuntu-pt.org
Linux user #443786 GPG key 1024D/A1784EBB