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

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * [EMAIL PROTECTED] * 412.268.7456
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++ E W+ N(-) o? K- w-- O-
M-- V-- PS+ PE+ Y+ PGP+ t+@ 5+++ X- R@ tv-- b+ DI+++ D++ G e++ h+ r- y?
------END GEEK CODE BLOCK-----

Reply via email to