<div class="markdown">
<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>

<hr>

<p dir="auto">Benny</p>

</div>