MBOX-Line: From tss at iki.fi  Wed Feb 18 09:54:53 2009
To: imap-protocol@u.washington.edu
From: Timo Sirainen <tss@iki.fi>
Date: Fri Jun  8 12:34:42 2018
Subject: [Imap-protocol] IDLE + inbox file
In-Reply-To: <11E08CAD-B343-4845-9C33-1DA80AFD652E@psu.edu>
References: <11E08CAD-B343-4845-9C33-1DA80AFD652E@psu.edu>
Message-ID: <1234979693.29240.1770.camel@timo-desktop>

On Wed, 2009-02-18 at 12:09 -0500, Jonathan Siegle wrote:
> Consider the following imap commands:
> 
> =
> 0 login userid passworD
> 1 select inbox
> 2 idle
> =
> 
> 
> This is the only connection to the inbox. Must a server tell the idle  
> client when new messages arrive using the RECENT flag?

You mean the "* 123 RECENT" response? The new message may not be recent,
so that might not work always. EXISTS response is what should always be
sent when new messages arrive.

>   Must a client issue DONE followed by some IMAP command(check/select/ 
> etc) to know if new messages have arrived?

I don't think anything requires that. And I know that several clients
use a connection that IDLEs forever, without bothering to even do DONE +
IDLE every 29 minutes to avoid disconnection. For Dovecot I decided to
just not disconnect IDLEing clients due to idling, it should eventually
notice disconnected TCP connections anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: This is a digitally signed message part
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20090218/eb5495e4/attachment.sig>
