On Fri, Oct 23, 2015 at 09:37:28AM +1100, Bron Gondwana wrote:
> > 
> > If they are thinking that the example in the RFC is the specification, they 
> > are
> > not correct. The IMAP server responses to determine completion of the 
> > EXPUNGE
> > command are "OK" for a completed EXPUNGE, "NO" for a failure, and "BAD for 
> > unknown
> > command or invalid arguments. Everything after those words are not germane 
> > to
> > whether or not the command completed. The tag is what links the OK to the 
> > EXPUNGE
> > command and not the "EXPUNGE completed". Sigh, they had it right and now it 
> > is
> > broken.
> 
> Actually, the ImapTest command complained about this too:
> 
> http://imapwiki.org/ImapTest
> 
> >From RFC3501:
> 
> response-tagged = tag SP resp-cond-state CRLF
> 
> 
> resp-cond-state = ("OK" / "NO" / "BAD") SP resp-text
>                     ; Status condition
> 
> resp-text       = ["[" resp-text-code "]" SP] text
> 
> text            = 1*TEXT-CHAR
> 
> So the exact text after the OK response doesn't matter, but it MUST be SP 
> followed by at least 1 TEXT-CHAR.
> 
> This is pretty easy to patch in 2.3.x if you're forced to remain there for 
> reasons.  It is, of course, fixed in later versions.
> 
> Bron.
> 

Hi Bron,

I don't suppose you have a patch? If not, I will work one up.

Regards,
Ken
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Reply via email to