Red Hat Bugzilla – Bug 955587
Do not consider PGP and S/MIME subparts as attachments
Last modified: 2015-01-07 09:39:50 EST
Description of problem: evolution shows in msg list all s/mime-signed messages as messages with attachment, this is incorrect as the signature implementation should be transparent to the user. PGP/MIME-signed messages aren't displayed as messages with attachment either Version-Release number of selected component (if applicable): evolution-2.28.3-30.el6.x86_64 How reproducible: always Steps to Reproduce: 1. display a folder with s/mime-signed message that has no attachments 2. 3. Actual results: the s/mime message is displayed as having attachments Expected results: the s/mime message does not have attachments Additional info:
Created attachment 739004 [details] sample s/mime message The bug applies to Evo 3.6.4 in Fedora 18 as well.
Thanks for a bug report. I guess you generated the email in Evolution, right? The reason why the message is marked as "with attachments" is this: Content-Disposition: attachment; filename="smime.p7s" which is set on the Content-Type: application/x-pkcs7-signature; name="smime.p7s" part. I see (and didn't know) that evolution itself sets this 'attachment' disposition too, for some reason. I guess the logic to recognize messages with and without attachments should be extended (git master is also "affected").
Created attachment 739293 [details] evolution-data-server-2.28.3-attachment-flag-2.patch for evolution-data-server; The same patch committed upstream as 682ce13 for git master (3.9.1+) and as 8fb7cbf for git gnome-3-8 (3.8.2+). Selecting a message is enough to let it reconsider whether the message has an attachment or not.
Created attachment 739376 [details] sample pgp-signed message Yes, the s/mime message was also sent using evo. Note that the attached message that looks like pgp/mime to me already isn't displayed as a message with attachment.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1540.html
Removing needinfo on closed bugs.