<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div><div class="plaintext"><p dir="auto">I've seen stuff like that when there are network issues—I think<br>
that MailMate gets out of sync and then ignores what's in the<br>
keychain. That is, the connection drops, it tries to reestablish<br>
it, and when that fails it seems to decide that the problem was<br>
with authentication.</p>
<p dir="auto">As for ssh: my guess is that it's a NAT timeout issue. A couple<br>
of years ago, when I was on sabbatical, I had to deal with a NAT<br>
that was tuned for web sessions. I added</p>
<p dir="auto">  ServerAliveInterval 60</p>
<p dir="auto">to my .ssh/config file for the relevant destinations.</p>
<p dir="auto">On 14 Jul 2020, at 12:16, Randall Gellens wrote:</p>
<blockquote><p dir="auto">MailMate 1.13.1 on OS 10.13.6.<br>
<br>
Most of my accounts are set up with a server address of 1.27.0.0.1, which uses an SSH tunnel to connect to the mail server.  Other accounts, including iCloud mail, go directly (not via the SSH tunnel).  All passwords are saved in the keychain.  Starting a few days ago, for some reason the SSH connection drops after a few hours, always while the machine running MM is idle (e.g., overnight or when I am out of the room for a few hours).  I haven't yet figured out why the SSH connection keeps dropping, but the only effect of that should be that MM loses connectivity with the server for the accounts that need the SSH tunnel.  However, whenever I return to the machine and the tunnel has dropped, MM has a dialog box up asking me to re-enter the (app-specific) iCloud account password.  I put it in, check the box to save it in the keychain, and MM is happy until the next time the SSH connection drops.<br>
<br>
The dialog says:<br>
<br>
        Enter password for “...” at “imap.mail.me.com”<br>
<br>
        Password does not exist in keychain.<br>
<br>
        Note: If you use two-step verification or two-factor authentication then you probably need an application specific password.<br>
<br>
        <a href="https://support.apple.com/en-us/HT204397">https://support.apple.com/en-us/HT204397</a><br>
<br>
        Please enter password for user name “...”.<br>
<br>
--Randall<br>
<br>
_______________________________________________<br>
mailmate mailing list<br>
mailmate@lists.freron.com<br>
<a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote><br><br><p dir="auto">        --Steve Bellovin, <a href="https://www.cs.columbia.edu/~smb">https://www.cs.columbia.edu/~smb</a></p>
</div>
</div>
</body>
</html>