<div class="markdown">
<p dir="auto">Am 24 May 2013 um 16:59 schrieb Benny Kjær Nielsen:</p>
<blockquote>
<p dir="auto">On 24 May 2013, at 16:29, Tobias Ramin wrote:</p>
<blockquote>
<p dir="auto">I just stumbled across the possibility to show MS-Outlook winmail.dat attachments.<br>
In the release notes is a hint to install tnef via macports. I just tried it with homebrew instead. MailMate could not display or extract the winmail.dat in that case.<br>
Is there a path to tnef to configure? Homebrew puts the binary to /usr/local/bin/tnef</p>
</blockquote>
<p dir="auto">Yes, but there is no GUI for this setting which means it's a bit tricky (and it might interfere with future changes). Here you go:</p>
<pre><code>defaults write com.freron.MailMate environmentVariables "(
{ enabled = :true; name = 'MM_GPG'; value = '/usr/local/bin/gpg2'; },
{ enabled = :true; name = 'MM_TNEF'; value = '/usr/local/bin/tnef'; },
)"
</code></pre>
<p dir="auto">You can paste that in the Terminal.</p>
<p dir="auto">This is not documented anywhere. The best future solution for <code>tnef</code> would be to simply include it with MailMate.</p>
<p dir="auto">Feedback is welcome on whether or not the <code>winmail.dat</code> handling works for you.</p>
</blockquote>
<h2>Sadly, this does not work for me. MailMate just says "The following have been extracted from the TNEF attachment above." but does not show any files. I then used tnef (1.4.8) on the command-line to show the jpg hidden in winmail.dat. This went ok.</h2>
<p dir="auto">Tobi</p>
</div>