On Sun, 2019-06-30 at 09:52 +0200, Dario Lesca wrote:
> In some PEC message, Evolution show only 3 file attach (wrong)
> Thunderbird (and other mua) show 4 attach (correct)
> The attach missing is "IT01879020517_kTnxj.xml.p7m"
> (see image attached)
there's not much visible on the image. It looks like a digitally signed
message. Such message can have "attachments" with the signature, but
Evolution doesn't show these parts as attachments (it's that green bar
at the top for it). Could Thunderbird show a message signature as an
attachment? What does that file contain, when you save it?
> I must fill a bug or there is a solution?
> If you want see the real email saved in mailbox file, let me know.
Providing the test message (with removed/censored all of the private
information of it) would be a good idea. The most important part of the
message is its structure, the data in each part can be (usually)
discarded. As a starter, save the message as an mbox, then get the
structure information from it with a command like this one:
$ cat eml.mbox | grep -i -C1 Content >cnt.txt
and remove anything private from the resulting cnt.txt before sharing
its content anywhere (like here).
On Mon, 2019-07-01 at 15:06 +0200, Dario Lesca wrote:
> Ok, see attached structure of the message , filtered with your
> suggested command.
thanks for the structure. It looks like an attachment of an attached
message, if I read it correctly. I do not see why Evolution would not
show it, but maybe I miss some tiny detail.
I see that libcamel (from evolution-data-server, which Evolution uses
for the Mail part) uses the .p7m extension to S/MIME signed or
encrypted parts. It sets it, but it doesn't read it (or compare it), at
least for my grepping for "p7m" in the sources. Evolution itself
doesn't have any "p7m" in the sources.
> If you want, I can send to you the full message: do not contain
> particular secret, except email address
If you can, then please send only to me the message for testing
purposes (the actual address is in the Reply-To header, as the mailing
list software did it in the previous message from me within this
thread). You can replace the email addresses and the actual text in the
message as well - some parts are base64 encoded, thus it's harder to
see what it really contains. Please, mention a reference to this
discussion in the message subject, otherwise I might overlook your
message in my spam folder.
Thanks and bye,
On Tue, 2019-07-02 at 17:52 +0200, Dario Lesca wrote:
> I have send to you the .mbox file.
thanks, received and tested. The thing is that the inner message has
two application/octet-stream attachments. One is the .xml file, the
other one is .xml.p7m file, both part of multipart/mixed. Evolution
tries to guess what the subparts of the multipart/mixed contain. For
the .xml file it properly guessed it's application/xml and showed it as
such. For the .xml.p7m it properly guessed it's application/pkcs7-mime
part. These are treated specifically in Evolution. You cannot get the
inner .xml file, only the certificate is shown within that red banner
"Invalid signature". When clicking the button on the left of that red
banner, then you'll get the certificate. Not the inner file(s).
I opened a bug for you at  (bugs are better for tracking and history
behind the changes) and fixed it for 3.33.4 and 3.32.4.
Il giorno gio, 04/07/2019 alle 11.16 +0200, Milan Crha via evolution-
list ha scritto:
> I opened a bug for you at  (bugs are better for tracking and
> history behind the changes) and fixed it for 3.33.4 and 3.32.4.
> Thank you for your help with this.
Thank you for analysis of the issue, detailed explanation an open a
Since the problem is not patched I can use the workaround posted in my
Have a nice Days
(inviato dal mio Linux Fedora 30 Workstation)