<p>Thanks. Changed merged upstream and applied into official <code>next</code> branch.</p>

<p>Back to your original issue, I see that TLS handshake goes fine! Both (with and without TLS) seem to fail to get  response of the IMAP server CAPABILITY right after the poll driver is enabled. So, I wonder if there's a firmware issue with the poll driver.</p>

<p>Could you test latest offlineimap WIP (<code>next</code> branch) with the following change: in <code>offlineimap/imaplib2.py</code> line 1792, change:</p>

<pre><code>if hasattr(select_module, "poll"):
</code></pre>

<p>to</p>

<pre><code>if False:
</code></pre>

<p>Keep indentation as-is.</p>

<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/207#issuecomment-147706425">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEAwqydH3MigCAKRoQyJkq8OMzo4Eks5o7PaMgaJpZM4FCC22.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/207#issuecomment-147706425"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>