Hi,
On 11 Mar 2003 10:20:22 +0000, David Woodhouse <[EMAIL PROTECTED]> wrote... > Consider the case where the following happens, in this order: > 1. Client SELECTs a mailbox. > 2. Mail arrives. > 3. Client issues 'IDLE' command. > > AFAICT nothing in RFC2177 states that the server 'MUST' immediately > inform the client of changes to the mailbox which have occurred since > the mailbox was selected, and unless that behaviour is required, there's > _always_ a race condition between selecting the folder and entering > 'idle' mode. There is no race condition. When the client sends the idle command, it is telling the server to send notification about new mail as it arrives. Since new mail has already arrived prior to the initiation of the IDLE command, the server should immediately notify the client about the new mail and then continue to send updates as they occur. Regards, Mark Keasling <[EMAIL PROTECTED]>
