Skip to main content

TNEF Conversion

Have you ever gotten a winmail.dat file in Entourage or Mail.app or even Thunderbird not to mention any other mail client?
So you are wondering how do I open winmail.dat on an Apple OS X machine
well here it is.

Not that I get them often, but ....
On the odd occasion i will get an email that is sent to me that has a winmail.dat attachment. This is a mail from Microsoft Outlook. Although there are ways of disabling the option to send TNEF (Transport Neutral Encapsulation Format) files. its generally easier to just convert the file yourself and leave the sender out of it.


There are a few ways of dealing with these pesky files.

1. you can download and use TNEF Enough.

2. you can use my script although there is more work involved its probably a little easier once setup. (OSX Tiger Needed)

The Requirements.
1. OSX Tiger or above with Apple Developer Tools Installed.
2. Automator
3. Darwin Ports installed
4. Install TNEF
5. Download my winmail script.

The How To:
1. Installing XCode Tools.
If you already have the Apple Developer tools installed then skip to the next section

if not, you can either install in from your Tiger or Leopard Install DVD, if you don't have it handy you can get it from the Apple Developer site





2. Installing Darwin Ports.
go here for Darwin Ports or here for Macports to download the DMG file.
Install the ports system and then in your terminal.app (in the Utilities Folder) type in the following

sudo port -d selfupdate

you might not need to do an update but it is recommended

then in your Terminal.app window type the following
% sudo port install tnef

you will be prompted for your password.

then you will see something like this
---> Fetching tnef
---> Verifying checksum for tnef
---> Extracting tnef
---> Configuring tnef
---> Building tnef with target all

---> Staging tnef into destroot

---> Installing tnef

Once that is done you have TNEF installed.

Download the winmail.zip file

extract winmail.zip
the winmail app should be pretty generic, and should not need to be changed at all, butyou are more than welcome to open it in automator and edit it as you need.

Basically what it does is finds the winmail.dat file on your desktop.
then extracts the contents and moves it to a TNEF folder in your Documents folder the script will create the TNEF Folder
After that it opens the folder so you can see the contents and deletes the original winmail.dat file from your desktop

What I have done is added the winmail app into my Dock, so when a mail arrives with a winmail.dat attachment all I do is save it to my desktop and click on the Winmail application icon on my Dock.
If all works well you are presented with a finder window with the contents of the winmail.dat file.

Comments

Popular posts from this blog

Setting up and Installing Rancid on FreeBSD for Cisco Products

Setting up and Installing Rancid on FreeBSD for Cisco Products What is Rancid? Rancid is an application that monitors a devices configuration including software and hardware. The configuration is then stored in a Concurrent Version System or CVS. Most of the time it is used to back up router, switch and firewall configurations, as well as notify you when a configuration has changed, i.e a firewall rule or a routers IP address or access list change. here is an example of the output =================================================================== retrieving revision 1.29 diff -u -4 -r1.29 mpls-jhb-pe1 @@ -288,9 +288,9 @@ ! interface Serial0/0 description Link to Client X bandwidth 2048 - ip address 192.168.1.244 255.255.255.254 + ip address 192.168.1.234 255.255.255.254 ip route-cache flow ip tcp header-compression iphc-format ip tcp compression-connections 256 ! ip ospf message-digest-key 1 md5 the - symbol represents what was removed the + symbol represents what was added The abo

Tacacs+ Install and Config Guide

Tacacs+ Install and Config Guide What is TACACS As per wikipedia Terminal access controller access control system (TACACS) is a remote authentication protocol that is used to communicate with an authentication server commonly used in UNIX networks. TACACS allows a remote access server to communicate with an authentication server in order to determine if the user has access to the network. Installing Tacacs on FreeBSD This guide is intended to be a basic implementation of TACACS+, so although there are may features I am just going to document what I generally use. Please note that tac_plus is also available from Shrubbery Networks if you would like to install and configure on another platform. You may also want to check out my Rancid How-To Once again its in your ports directory. cd to /usr/ports/net/tac_plus4/ run a "make install clean" Once installed vi /usr/local/etc/rc.d/tac_plus.sh Then Change the following line from NO to YES tac_plus_enable=$ Save the file, then vi /e

Setting up a Cisco 800 series Router for ADSL

Setting up a Cisco 800 series Router for ADSL Not that the Average user would use a Cisco ADSL router, or if they do use a Cisco product it would probably be a Linksys router. Anyway here is the config with comments in between. all comments are in italics You might want to check out the Cisco DYNDNS configuration guide too NOTE: This particular config was done on a Cisco 877 ADSL / DSL router however its known to work on the Cisco 800 series DSL routers in general including the Cisco 827 Cisco 837 Cisco 877W This example is a basic setup for just access to the web you can enable PAT or Port Address Translation on the router to allow access from the outside to a server or something like that. Also this setup is for a Dynamic IP from the ISP you might also want to checko out the how to on setting up SSH login on the router no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname # your router name i.e. Bobs Router ! boot-st