Bug 109532

Summary: KMail created mail with broken attachment and invalid signature
Product: [Applications] kmail Reporter: Malte S. Stretz <mss>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: akohlsmith-kde, bjoern, bmarsh, michael
Priority: NOR    
Version: 1.8.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The broken mail, anonymized

Description Malte S. Stretz 2005-07-23 20:49:17 UTC
Version:           1.8.1 (using KDE 3.4.1, Gentoo)
Compiler:          gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.10-gentoo-r4

I did the following:

1. Went to my folder where my webmailer stores the sent mail (on an IMAP server) and choose one mail to be forwarded as attachment.

2. Removed the Fwd tag from the Subject, added a To and a CC.

3. Opened the properties of the attached mail, ticked "Sign this part"

4. After I pressed Ok, the filename for the attachment was empty, as always.

5. Wrote my mail.

6. Hit "Send Now".  The qt-pinentry appeared.  I noticed that I forgot the enable signing of the rest of the mail so I cancelled the dialog.

7. Enabled the "Sign Message" button.

8. Hit "Send Now" again, entered my passphrase for PGP and the mail went out.

The mail I got in my sent-mail folder afterwards had a bad signature and the attachment was broken: Some headers were wrapped and appeared in the body.

I'll attach an anonymized mail, if somebody needs the whole one I can forward it.
Comment 1 Malte S. Stretz 2005-07-23 20:54:16 UTC
Created attachment 11896 [details]
The broken mail, anonymized
Comment 2 Thiago Macieira 2005-12-06 00:43:03 UTC
*** Bug 117236 has been marked as a duplicate of this bug. ***
Comment 3 Thiago Macieira 2005-12-06 00:43:11 UTC
*** Bug 117737 has been marked as a duplicate of this bug. ***
Comment 4 Thiago Macieira 2005-12-21 02:11:19 UTC
*** Bug 118723 has been marked as a duplicate of this bug. ***
Comment 5 Magnus Kessler 2006-03-13 15:40:50 UTC
I haven't seen the invalid signature (but then I hardly ever use signatures) but I do see the other issue - email headers appearing randomly in the body - a lot. Usually the copy in the sent mail folder is OK but the BCCd copy coming back to me is broken. I have broken files from colleagues as well. To me this seems to be an issue with reading mails from an imap server.

KMail 1.9.1 compiled from source with gentoo amd64 against imap on a MS exchange server.
Comment 6 Björn Ruberg 2009-12-21 19:49:51 UTC
Is this still a problem?