Attachments within S/MIME mails which are "both" encrypted and signed cannot be saved. Below follows an example of some fields of the e-mail header: Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type="enveloped-data" Content-Disposition: attachment; filename="smime.p7m" Content-Transfer-Encoding: base64 MIME-Version: 1.0 I have verified the same problem even when the mail is sent from different clients (Outlook or KMail itself). This is similar to Bug 294272, but in this case it is related to S/MIME messages which are "both" signed and encrypted. If the message is only signed, or only encrypted, the problem does not occur. Reproducible: Always Steps to Reproduce: Receive an S/MIME message, which is both signed and encrypted, containing an attachment. Actual Results: An attachment is displayed as a link inside the message window, but the link cannot be opened / downloaded. There does not seem to be any way to view or save the attachment. Expected Results: The link / attachment should be downloadable / saveable. Similar to Bug 294272, but in this case it is related to S/MIME messages which are both signed and encrypted. If the message is only signed, or only encrypted, the problem does not occur.
Can confirm this bug is still in 4.8.5. My mails come from a Lotus Notes client 7.0.3 (since Kmail2 only the second worst mail client in the world - its really not a mail client which is only a little excuse). My work around: 1. Save mail as "msg.mbox". 2. Import file in Thunderbird 3. Save the attachments. Thanks to Mozilla for a working mail client! Thomas
Confirmed by second user.
This bug is still valid for the latest KDE, KDE 4.11.1 on Kubuntu.
Same with KDE 4.11.2 on openSUSE.
Git commit bbbdbc2180036040cac2b66492e6f0fd01c2b28c by Sandro Knauß. Committed on 21/10/2013 at 00:47. Pushed by knauss into branch 'KDE/4.11'. Fix 286481 - Unable to open attachments in encrypted messages The node has to get a correct extra content and the filename must be correctly point to the attachments inside the encrypted message. Related: bug 286481 FIXED-IN: 4.11.3 REVIEW: 113361 M +2 -3 messageviewer/viewer/nodehelper.cpp M +1 -1 messageviewer/viewer/objecttreeparser.cpp http://commits.kde.org/kdepim/bbbdbc2180036040cac2b66492e6f0fd01c2b28c