UPDATE: I have an improved version of the script available here.
I'm not going to repeat the many, many websites taking (and complaining) about Microsoft's proprietary e-mail attachment format called TNEF.
I'm assuming that if you are reading this then you have found that these fixes are not working for you (or not possible to enforce). I'll also assume that the LookOut Thunderbird Add-on by Aron Rubin is also not working correctly for you (this was my experience on Ubuntu Edgy Eft).
The best solution I could come up with was getting Thunderbird to run a script to unpack the winmail.dat extension into a folder on your Ubuntu desktop.
It relies on the tnef command-line program, so make sure that is installed first (it's bundled with Ubuntu):
sudo aptitude install tnefBelow is my little script, save it in a file called 'tnef.sh' somewhere and make sure it's executable (
chmod +x tnef.sh) - or just download it here.
#!/bin/bashNow find an email in Thunderbird with a winmail.dat attachment. Double click it and select to open it with the newly saved tnef.sh file:
/usr/bin/tnef -C $LOCATION --save-body -f $1
Look on your desktop - there should be a 'winmail.dat' directory with the full contents of the attachment.
Double-clicking on any future winmail.dat file will result in the contents of the attachment to also be added to that directory.
Technorati Tags: winmail.dat, TNEF, Thunderbird, Ubuntu, Andrew Beacock