<<< Date Index >>>     <<< Thread Index >>>

Re: winmail.dat procmail and mutt



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, December  5 at 08:07 PM, quoth Chris Willard:
> From time to time I receive emails with winmail.dat as an 
> attachment.

Yuck - what a pointless thing for MSFT to have done.

> I am interested in how other people deal with this problem so I can 
> automate mutt or procmail to display/extract the message and 
> possibly inform the sender of their misconfigured email system.

I don't get them often enough to bother pestering people to 
reconfigure their email programs (but the webpage you're looking for 
is http://support.microsoft.com/kb/138053). As for a way of decoding 
them, what you need is tnef (http://www.sf.net/projects/tnef) to 
decode those tnef files. Then add this to your mailcap file:

     application/ms-tnef; tnef -w %s

Unfortunately, that'll just allow you to extract files, you then have 
to go view them yourself. I don't know of a better way, since the real 
name of the file is hidden within the winmail.dat file.

~Kyle
- -- 
Last comes the beverage of the Orient shore, Mocha, far off, the 
fragrant berries bore. Taste the dark fluid with a dainty lip, 
Digestion waits on pleasure as you sip.
                                                        -- Pope Leo XII
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkk5kZ8ACgkQBkIOoMqOI16ahgCaAgOEUm5nnEu40laqdn428acU
U6UAn2uUPZIu2I26g1uExoBDPVBam9x4
=K3KP
-----END PGP SIGNATURE-----