The winmail.dat file is a container file format used by Microsoft Outlook to send attachments in richtext formatted emails. To open winmail.dat on Linux, use the tnef utility.

Installation

sudo apt-get install tnef

Usage

Open a shell window, navigate to the directory where the winmail.dat file is saved,  then execute the command:

tnef winmail.dat

to extract all files that are stored in the winmail.dat into the current directory.

How to open winmail.dat files on Ubuntu and Debian Linux

24 thoughts on “How to open winmail.dat files on Ubuntu and Debian Linux

  • Permalink

    Thank You. 🙂 It was quick and easy. (A bit off but.. Happy holidays … ) 🙂

    Reply
  • Permalink

    Ditto. I am always getting email from people and I plead to stop sending me .dat and .pub files. They keep doing it so thanks for solving that. Now all I need is a .pub converter……..sigh

    Reply
  • Permalink

    Thanks to the author of this very useful piece of software.
    Installed and used 😉 Perfect !

    Greetings

    Hellmut

    Reply
  • Permalink

    Nice tool, helped me a lot for reading pdf files.

    Reply
  • Permalink

    Thank you very much!! Community is the Power, but with people like you, only.

    Reply
  • Permalink

    i have a problem; after command line, ask me “[sudo] password for francesco:” , but i can’t succeed to write my pw. Why?

    Reply
  • Permalink

    Francesco that is a password that you or who ever installed your linux version of your OS should know. When you type it appears that nothing is being typed, that just how it seems.

    Reply
  • Permalink

    There is also a Ubuntu package called claws-mail-tnef-parser that is a plugin to the Claws mail program and allows seamless attachment handling- you don’t even know there’s a winmail.dat file. May be plugins for other mail programs too.

    Reply
  • Permalink

    This is a great little program, saved me hours of angst!!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*