Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a plugin for a DMS under Ubuntu 10.04. There is the need to extract mail attachments and body from uploaded .msg files. For those who don't know .msg is a MS Outlook file format. On Windows we used a .msg extractor but on Ubuntu i googled for hours and still haven't found anything. There is one serious issue here: .msg is Microsoft technology and most .msg extractors use Outlook and .net to get those attachments and body.

Do you know any workaround to make things work on a Ubuntu machine?

share|improve this question

Could you check if the tnef package fits your needs? I am not sure if this is exactly what you're looking for.

From the package description:

TNEF is a program for unpacking MIME attachments of type "application/ms-tnef". This is typcially a Microsoft only attachment.

The TNEF program allows one to unpack the attachments which were encapsulated into the TNEF attachment, thus alleviating the need to use Microsoft Outlook to view the attachment.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.