Blog

Enable TNEF on Linux Servers

Tags: mailoutlookTNEFwinmail

Published on: July 27, 2014 by Shafeer P

Enable TNEF on Linux Servers

Scenario:

In Linux servers sometimes we need to install TNEF, let me explain the scenario, when a mail is received from Microsoft Outlook that encoded using RTF (Rich Text Format), you may see an attachment winmail.dat that can’t be viewed on Webmail running on Linux platform by default. A sample error is given below.


Warning: tnef is not installed or not executable. you can't view winmail.dat attachments in the email module

What is TNEF?

TNEF (Transport Neutral Encapsulation Format) is a proprietary email attachment format used by Microsoft Outlook and Microsoft Exchange Server. An attached file with TNEF encoding is most often named winmail.dat or win.dat

See http://support.microsoft.com/kb/241538

Installation

TNEF need to be complied and installed manually. The steps are given below,

 Step 1 : Get the download link of latest TNEF release from http://sourceforge.net/projects/tnef/files/latest/download

 Step 2Strip the download link as follows http://downloads.sourceforge.net/project/tnef/tnef/tnef-1.4.9.tar.gz

 Step 3Download and install TNEF

# cd /usr/local/src

# wget http://downloads.sourceforge.net/project/tnef/tnef/tnef-1.4.9.tar.gz

# tar -xzf tnef-1.4.9.tar.gz

# cd tnef-1.4.9

# ./configure

# make

# make install

Step 4 : Check installation

# tnef -V
tnef 1.4.9
Copyright (C) 1999-2011 by Mark Simpson
Copyright (C) 1997 by Thomas Boll (original code)
tnef comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of tnef under the terms of the GNU General
Public License. For more information about these matters, see the file
named COPYING

 

Category : Howtos, Linux, Windows

Shafeer P

Shafeer P

Shafeer is currently working as Senior System Engineer at SupportSages. He is capable of tackling time-consuming issues quickly with his advanced scripting abilities. His unchallenged expertise in solving complex issues in a cut-and-dried way makes him a dependable man in the team. The attitude and philosophy he shows on his workplace make his colleagues call him 'Mr. Perfectionist'. Furthermore, he is a travel and photography enthusiast, and loves to spend his leisure times on music and DIY arts.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend