https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112020-07-24T21:12:21ZRuby Issue Tracking SystemRuby master - Bug #17049: Net::IMAP - Handling of NOOP untagged responses sent by Zimbrahttps://bugs.ruby-lang.org/issues/17049?journal_id=867112020-07-24T21:12:21Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Assignee</strong> set to <i>shugo (Shugo Maeda)</i></li></ul><p>Per RFC 3501 Section 7: <code>The client MUST be prepared to accept any response at all times.</code> Arguably, raising an exception is not proper preparation. Looking at the formal grammar, it does not appear that <code>* NOOP</code> is a valid server response (though <code>* NO OP</code> would be), so Zimbra's behavior does appear to go against the standard. I think if we were going to fix this in net/imap, we should not make this specific to <code>* NOOP</code>, we should handle any unrecognized untagged response the same way. However, <a class="user active user-mention" href="https://bugs.ruby-lang.org/users/12">@shugo (Shugo Maeda)</a> is the maintainer of net/imap, so the behavior is up to him.</p>
<p>It looks like Zimbra's bug tracker for the IMAP component is: <a href="https://bugzilla.zimbra.com/buglist.cgi?component=IMAP%2FPOP%20Server&product=ZCS&resolution=---" class="external">https://bugzilla.zimbra.com/buglist.cgi?component=IMAP%2FPOP%20Server&product=ZCS&resolution=---</a> I recommend you report the issue there. You could also create a patch and add it as a pull request to <a href="https://github.com/Zimbra/zm-mailbox/pulls" class="external">https://github.com/Zimbra/zm-mailbox/pulls</a>. However, it appears the behavior in Zimbra is deliberate to keep connections active, so you may encounter some resistance. According to RFC 3501, sending NOOP to keeping connections open is the job of the client (NOOP requests), it's not the job of the server.</p> Ruby master - Bug #17049: Net::IMAP - Handling of NOOP untagged responses sent by Zimbrahttps://bugs.ruby-lang.org/issues/17049?journal_id=867672020-07-28T01:47:43Zsawa (Tsuyoshi Sawada)
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/86767/diff?detail_id=57590">diff</a>)</li></ul> Ruby master - Bug #17049: Net::IMAP - Handling of NOOP untagged responses sent by Zimbrahttps://bugs.ruby-lang.org/issues/17049?journal_id=927332021-07-02T15:49:56Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>