<p><a href="https://github.com/5c0tt" class="user-mention">@5c0tt</a>, I'm not familiar with photon either but I may be able to help with one other aspect.</p>

<p>The <code>-u sjl</code> part of that command assumes that your user name on the computer is <code>sjl</code>. If it's not, you should change it appropriately. (I suspect the command was copied from Steve Losh's <a href="http://stevelosh.com/blog/2012/10/the-homely-mutt/">The Homely Mutt</a>, a nice article indeed).</p>

<p>Likewise, if the file has something like the below, you'll need to change the <code>'keychain'</code> value to point at your actual <code>login.keychain</code> file. That probably just means replacing the <code>sjl</code> part again.</p>

<div class="highlight highlight-source-python"><pre>params <span class="pl-k">=</span> {
    <span class="pl-s"><span class="pl-pds">'</span>security<span class="pl-pds">'</span></span>: <span class="pl-s"><span class="pl-pds">'</span>/usr/bin/security<span class="pl-pds">'</span></span>,
    <span class="pl-s"><span class="pl-pds">'</span>command<span class="pl-pds">'</span></span>: <span class="pl-s"><span class="pl-pds">'</span>find-internet-password<span class="pl-pds">'</span></span>,
    <span class="pl-s"><span class="pl-pds">'</span>account<span class="pl-pds">'</span></span>: account,
    <span class="pl-s"><span class="pl-pds">'</span>server<span class="pl-pds">'</span></span>: server,
    <span class="pl-s"><span class="pl-pds">'</span>keychain<span class="pl-pds">'</span></span>: <span class="pl-s"><span class="pl-pds">'</span>/Users/sjl/Library/Keychains/login.keychain<span class="pl-pds">'</span></span>,  <span class="pl-c"># <-- Here</span>
}</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/244#issuecomment-141722576">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEFm266kwMsTtcc9KmXAkT7ZfmfHrks5ozflegaJpZM4GAQtX.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/244#issuecomment-141722576"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>