Rob Siemborski wrote:

On Tue, 4 May 2004, Barry Leiba wrote:



AFAIK, there are no IMAP implementations that actually send unsolicited
responses (with or without IDLE) in the Authenticated state. The IDLE
spec was written as it is to allow for that possibility, though. For
example, if we define a way for a server to announce changes in the
mailbox list, those might well go out in Authenticated, as well as in
Selected state, and now we wouldn't have to change IDLE to allow that.



Cyrus can send an unsolicited "* BYE [ALERT]" during IDLE (or, for that matter, during the authenticated state). Obviously, at this point the connection is going away so it doesn't matter too much, but even RFC 3501 gives an example of an unsolicited response in the authenticated state:

(Section 7.1.1)
  Example:    S: * OK IMAP4rev1 server ready
              C: A001 LOGIN fred blurdybloop
              S: * OK [ALERT] System shutdown in 10 minutes
              S: A001 OK LOGIN Completed



What exactly is the definition of "unsolicited"? Would it be in the bounds of the specification for
a server to send a LIST Response during a NOOP for example?


rfc3501 Section 7. seems to imply that the client may be sent any untagged response, but Section
7.2.2 does not carry a statement saying, for example, that a LIST Response may be sent
unilaterally. Whereas, I notice the FETCH Response clearly states the response may be sent
unilaterally.


Mike





Reply via email to