<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 10 Nov 2017, at 9:06, Benny Kjær Nielsen wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">On 10 Nov 2017, at 11:50, Robert M. Münch wrote:</p>

<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB">
<p dir="auto">The sender uses GnuPG v2. The message shows up still encrypted, which is fine.</p>
</blockquote>

<p dir="auto">Why is this fine? IMO if the message can be encrypted by the command line tools, MM should be able to do it too.</p>
</blockquote>

<p dir="auto">When the command line behaves differently then make sure it's the same <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">gpg2</code> command used:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">which gpg2
</code></pre>

<p dir="auto">The one used by MailMate is here:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">/usr/local/MacGPG2/bin/gpg2
</code></pre>

<p dir="auto">To see exactly how MailMate calls <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">gpg2</code> you can enable a debug variable:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">defaults write com.freron.MailMate MmDebugSecurity -bool YES
</code></pre>

<p dir="auto">Then launch from a Terminal window:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">/Applications/MailMate.app/Contents/MacOS/MailMate
</code></pre>

<p dir="auto">I hope this helps.</p>
</blockquote>

<p dir="auto">I have this in my configuration:<br>
<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7"><br>
    environmentVariables =     (<br>
                {<br>
            enabled = ":true";<br>
            name = "MM_GPG";<br>
            value = "/opt/local/bin/gpg";<br>
        }<br>
    );<br>
</code><br>
and it works fine to invoke the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">gpg</code> that I have as part of MacPorts.  Note that it <em>does</em> behave differently, if you are used to Enigmail.  Seems like Enigmail was more permissive about trust, which took some getting used to, but this works fine for me (I had found that having MacGPG2 <em>and</em> MacPorts gpg installed on the same machine gave odd and unhappy results).</p>

<p dir="auto">HtH,<br>
r</p>
</div>
</div>
</body>
</html>