Bug 619842 - Attached email message is empty in forwarded email
Summary: Attached email message is empty in forwarded email
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evolution-mapi   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Matthew Barnes
QA Contact: Desktop QE
Keywords: Regression, Reopened
Depends On:
Blocks: 662543
TreeView+ depends on / blocked
Reported: 2010-07-30 17:01 UTC by Jiri Koten
Modified: 2014-01-02 11:10 UTC (History)
3 users (show)

Fixed In Version: evolution-mapi-0.32.2-8.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-21 04:57:33 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1540 normal SHIPPED_LIVE Low: evolution security, bug fix, and enhancement update 2013-11-21 00:40:51 UTC
GNOME Bugzilla 599311 None None None Never

Description Jiri Koten 2010-07-30 17:01:42 UTC
Description of problem:
When I receive forwarded mail (i.e., received as a new message), attached original email msg is displayed correctly, but when I try to view this mail later, original msg is missing. There is only attached empty mail with subject: No Subject. If I try to download this attachment, I get the same empty email.

This happens when using evo with MS Exchange 2007.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.forward yourself some mail
2.click send/receive
3.view this mail
4.close evo
5.open evo and view the mail again
Actual results:
attached original email message is missing

Comment 3 Matthew Barnes 2010-08-03 18:52:29 UTC
I assume step 1 requires "Forward as Attached" as opposed to quoted or inline?

Comment 4 Matthew Barnes 2010-08-03 20:01:58 UTC
Confirming, I just reproduced it myself using "Forward as Attached".

Looks like the issue was fixed in a subsequent release.  Unfortunately the patch appears quite large and invasive and the author of the patch is on vacation for the next three weeks.

Note the attachment is not lost, I think it's just not being read and/or parsed from the cache properly.  I found the "lost" attachment intact under


Upstream bug:

Upstream commit:

Comment 5 Matthew Barnes 2010-08-11 15:13:22 UTC
Punting this to 6.1 since the author of the upstream patch is still on vacation and patch itself is too invasive to commit at the 11th hour.

Comment 6 RHEL Product and Program Management 2010-08-11 15:15:03 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 7 Matthew Barnes 2010-08-11 15:17:44 UTC
Reopening for 6.1.

Comment 8 Milan Crha 2010-11-23 17:01:20 UTC
Patch should be applicable (maybe with some changes). It was only getting common functions into a util file, and then used them from there.

Comment 9 RHEL Product and Program Management 2011-01-07 15:31:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support

Comment 11 Jiri Koten 2013-09-10 14:33:29 UTC
This issue is back after rebase to evolution 2.32. The attachment contains incomplete forwarded msg, only part of headers. When I check the msg on server (using OWA) the msg is complete, therefor Evolution sent the forwared msg ok, but have problem to download it.


1) Select a msg and forward it to yourself
2) Sync the account
3) Check the forwarded msg - the original msg should be attached  


Comment 13 Milan Crha 2013-09-11 10:16:06 UTC
I have a fix for evolution-mapi, to properly tag the message attachment, thus evolution itself shows it properly, though the main problem is in a way how evolution-mapi writes the attached message into the server. Newer version of evolution-mapi does it correctly, which means that it writes message attachments as embedded messages into the MAPI object, while 0.32.2 writes them as ordinary attachments. The difference can be seen in OWA (and Outlook), where embedded message attachments can be viewed in the web UI, while messages as plain attachments has name like ATT30306.eml‎ (605 B‎) in OWA and evolution, and these cannot be viewed directly in web UI.

Backport of a concrete fix in evolution-mapi involves many consecutive changes, which doesn't worth the effort from my point of view, especially when we promote evolution-ews over evolution-mapi since RHEL 6.5.

Comment 18 errata-xmlrpc 2013-11-21 04:57:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.