<!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 18 Feb 2017, at 4:19, Randy Bush wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">my email addy has multiple keys in my gpg keychain.  how do i tell MM which to use.  i tried putting my own addy in the ~/Library/Application\<br>
Support/MailMate/Security.plist hack, but no love.</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">If you want me to review the file then you can send it to me off list.</p>

<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">MM seems not to believe default-key in .gnupg/gpg.conf</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">MailMate calls <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">gpg2</code> directly and should do whatever that command would do from the command line. If you want to see how MailMate calls the command then you can enable a hidden preference and launch MailMate from a Terminal window like this:</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
/Applications/MailMate.app/Contents/MacOS/MailMate
</code></pre>

<p dir="auto">You'll see that MailMate uses <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">--local-user</code> to specify the from address and this overrides <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">default-key</code> (I think). In other words, we need to make <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Security.plist</code> work for you.</p>

<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>