<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Le blog de Michauko &#187; winmail.dat</title>
	<atom:link href="http://michauko.org/blog/tag/winmaildat/feed/" rel="self" type="application/rss+xml" />
	<link>http://michauko.org/blog</link>
	<description>Si tu ne comprends pas le titre de l&#039;article, passe ton chemin</description>
	<lastBuildDate>Mon, 16 Apr 2012 10:10:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>winmail.dat : kek&#8217; j&#8217;en fais ? je le décode bien sûr</title>
		<link>http://michauko.org/blog/2007/12/05/winmaildat-kek-jen-fais-je-le-decode-bien-sur/</link>
		<comments>http://michauko.org/blog/2007/12/05/winmaildat-kek-jen-fais-je-le-decode-bien-sur/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 15:04:46 +0000</pubDate>
		<dc:creator>michauko</dc:creator>
				<category><![CDATA[bureautique]]></category>
		<category><![CDATA[coup de gueule]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[ligne de commande]]></category>
		<category><![CDATA[planet-libre.org]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[TNEF]]></category>
		<category><![CDATA[winmail.dat]]></category>

		<guid isPermaLink="false">http://michauko.org/blog/2007/12/05/winmaildat-kek-jen-fais-je-le-decode-bien-sur/</guid>
		<description><![CDATA[Parfois (si quelqu&#8217;un sait me dire quand, je suis preneur), une pièce jointe (ou un ensemble) envoyée à partir d&#8217;un client mail Migrosoft arrive sous forme d&#8217;un fichier &#171;&#160;winmail.dat&#160;&#187;. Et on ne sait pas quoi en faire. Et ça me gave ce p_[4!n de problème. En cherchant un peu (vue la demande urgente d'un collègue [...]]]></description>
			<content:encoded><![CDATA[<p>Parfois (si quelqu&#8217;un sait me dire quand, je suis preneur), une pièce jointe (ou un ensemble) envoyée à partir d&#8217;un client mail Migrosoft arrive sous forme d&#8217;un fichier &laquo;&nbsp;winmail.dat&nbsp;&raquo;. Et on ne sait pas quoi en faire. Et ça me gave ce p_[4!n de problème.<br />
En cherchant un peu (vue la demande urgente d'un collègue près à me baffer), j'ai trouvé comment les décoder, ça peut vous servir.<span id="more-90"></span></p>
<p>Avec la commande <code>"file"</code>, vous découvrirez ce qu'est le format TNEF :</p>
<pre>nunusk:~# file /tmp/winmail.dat
/tmp/winmail.dat: Transport Neutral Encapsulation Format</pre>
<p>Ca semble être une bouse sortie de chez Grosoft.<br />
De là, vous ferez à tout hasard une recherche Goog... avant ça : apt-cache pour voir si un outil magique n'existerait pas :</p>
<pre>nunusk:~# apt-cache search tnef
libconvert-tnef-perl - Perl module to read TNEF files
libytnef0 - improved decoder for application/ms-tnef attachments
libytnef0-dev - improved decoder for application/ms-tnef attachments
ytnef - improved decoder for application/ms-tnef attachments
ktnef - KDE TNEF viewer
libktnef1 - Library for handling KTNEF email attachments
libktnef1-dev - KTNEF handler library [development]
mailscanner &#8211; email virus scanner and spam tagger
tnef &#8211; Tool to unpack MIME application/ms-tnef attachments</pre>
<p>Ô joie ! J'ai tenté ma chance avec un <code>apt-get install tnef</code> immédiatement suivi d'un <code>man tnef</code> immédiatement suivi d'un <code>tnef -f /tmp/winmail.dat -C . ; ls -ltr</code> et...... un fichier jpg est sorti. Wouaaaaa.</p>
<p>Au moins, je saurai comment régler ces problèmes unitairement, en attendant de comprendre vraiment le problème.</p>
]]></content:encoded>
			<wfw:commentRss>http://michauko.org/blog/2007/12/05/winmaildat-kek-jen-fais-je-le-decode-bien-sur/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

