Bug 152484 - No X-KMail headers should be added to mail in local folders
Summary: No X-KMail headers should be added to mail in local folders
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: index (show other bugs)
Version: 1.9.7
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-17 20:35 UTC by Zbigniew Luszpinski
Modified: 2012-08-19 00:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zbigniew Luszpinski 2007-11-17 20:35:10 UTC
Version:           1.9.7 (using KDE 3.5.8, compiled sources)
Compiler:          Target: athlon_64-pc-linux-gnu
OS:                Linux (i686) release 2.6.22.10

KMail adds the following headers to mail in local folders:
X-KMail-Transport: 
X-KMail-Recipients: 
X-Status: 
X-KMail-EncryptionState: 
X-KMail-SignatureState: 
X-KMail-MDN-Sent:

This should be forbidden in case of received mail stored in incoming folder - this is important for pop3, imap is not affected because messages are stored elsewhere. None of received mail messages are allowed to be altered.
Comment 1 Zbigniew Luszpinski 2007-11-17 22:40:02 UTC
Full list of headers added by KMail:
Status: RO
X-Status: RC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  

When message is saved as file at first line there is one more header in first line:
From someone@somoene.net.xx Sat Nov 17 12:33:42 2007

Messages should be kept in original form as they were received from pop3 server. If KMail have to add something do it in other file.
Comment 2 Ingo Klöcker 2007-11-17 23:48:40 UTC
Storing additional information about messages in additional headers is common pratice. In fact, adding this additional information directly to the message is the only way to ensure that this additional information is not lost.
Comment 3 Zbigniew Luszpinski 2007-11-18 00:58:51 UTC
Thanks. What a pity there is no option to avoid altering original message by KMail. The most fantastic advantage of KMail is open source so this unwanted message modification can be removed without asking anyone.
Comment 4 Zbigniew Luszpinski 2007-11-19 12:15:34 UTC
Could you please move KMail local headers above Return-Path: header (like Netscape/Mozilla/Thunderbird do). This way KMail locally added headers would be easy to ignore when doing copy-paste for manual spam reports.

Advantages:
* Original message source is not altered in the body of message
* Manual spam reports are easy because I mark all message source since Return-Path: header to the end of message and ignore KMail part above.
* Less cost for spam processing and storing because KMail headers are not sent inside spam reports
* It is not funny to see KMail name in spam reports when it was never used for spamming
Comment 5 yupa 2007-11-19 15:33:56 UTC
I have an additional problem: one of my contacts weekly sends an email with 40+ recipient: kmail puts these headers among the recipients breaking all the following headers! 
So modified the email appears sent to a part of the recipients while the other part of recipient appears in the body message; the modified email doesn't even show date and subject in headers as they appear under the second part of recipients in the body message!
Comment 6 yupa 2008-01-08 23:48:48 UTC
Another observation: kmail places these headers (Status, X-Status, X-KMail-EncryptionState, X-KMail-SignatureState, X-KMail-MDN-Sent) splitting the list of recipients (To: header) after 994 characters. 
Is this the right place to report this problem or have I to report another fresh bug? 
Comment 7 Myriam Schweingruber 2012-08-18 08:09:08 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 8 Luigi Toscano 2012-08-19 00:24:23 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.