Evolution fail to decode TNEF attachments

Bug #1390466 reported by David Girault
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Fix Released
Low
Unassigned
evolution (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When receiving an email from user using outlook, the attached files are grouped all in one tnef file.

The content-type of this part of the email is as below:

      Content-Type: application/ms-tnef; name="winmail.dat"

Old version of evolution decode correctly this kind of email up to version 3.4.0 of evolution when TNEF attachement are handled bu evolution plug-ins. At this time, the TNEF plugin handle mime_type = "application/ms-tnef" and "application/vnd.ms-tnef".

Since this commit for evolution 3.5, https://git.gnome.org/browse/evolution/commit/?id=931191474643164e96b5778c790e42cca517e729, the mime_type handled by the TNEF module are "application/ms-tnefl" and "application/vnd.ms-tnef".

There is an additionnal letter 'l' that prevent this module from working correctly!!!

Tags: patch trusty
Revision history for this message
David Girault (dfgweb) wrote :
Revision history for this message
David Girault (dfgweb) wrote :

After patched the binary file directly with the following command, it's work again!!!

sudo sed -i 's#application/ms-tnefl#application/ms-tnef\x00#' /usr/lib/evolution/3.10/modules/module-tnef-attachment.so

Revision history for this message
David Girault (dfgweb) wrote :

Existing matching bug in Gnome bugzilla :

 https://bugzilla.gnome.org/show_bug.cgi?id=700778

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix bad mime_type" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
David Girault (dfgweb) wrote :

Fixed uplink in branch master (3.13.8+) and evolution-3-12 (3.12.9+)
See https://bugzilla.gnome.org/show_bug.cgi?id=700778

Revision history for this message
Bruce Pieterse (octoquad) wrote :

David,

Thanks for submitting a patch for this. I see this has been fixed upstream, however I can't confirm if this fixed has landed. Which version of Ubuntu GNOME did you report this against, 14.04 or 14.10?

Changed in ubuntu-gnome:
status: New → Incomplete
Revision history for this message
Bruce Pieterse (octoquad) wrote :

I had a look at the module-tnef-attachment.so and can still see it present in 14.04.1

Changed in ubuntu-gnome:
status: Incomplete → Triaged
tags: added: trusty
Changed in ubuntu-gnome:
importance: Undecided → Low
Revision history for this message
Bruce Pieterse (octoquad) wrote :

This is still present in 14.04.3 but has been fixed in 15.04.

Changed in ubuntu-gnome:
status: Triaged → Fix Released
Changed in evolution (Ubuntu):
status: New → Fix Released
Mathew Hodson (mhodson)
Changed in evolution (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.