On Thu, Jun 18, 2015 at 01:19:33PM -0700, Kevin J. McCarthy wrote: > I'm attaching a patch that does this.
> It keeps the NONULL check in imap_auth_sasl, because it still seems > possible this could be called without capstr being set. > this seems plain wrong. it would most probably indicate a bug in the code preceding it. the server SHOULD send an unsolicited CAPABILITY response when the connection is established, and failing that, the client is expected to issue a CAPABILITY command (iirc, it's not really required to do that, but the client cannot really act without it).
