MBOX-Line: From iana at apple.com  Thu Mar 20 13:37:55 2014
To: imap-protocol@u.washington.edu
From: Ian Anderson <iana@apple.com>
Date: Fri Jun  8 12:34:52 2018
Subject: [Imap-protocol] Detecting HIGHESTMODSEQ changes/polling
 for	flag changes
In-Reply-To: <CABa8R6s3V9ysVKQ_RfgpNtr_oHNcG_mmkKo5jUkEKHnVVrESrA@mail.gmail.com>
References: <4E9EBB0E-ADFB-4F79-A27B-51ADC8395D71@apple.com>
	<38fb5091-dd83-484e-9b95-49ed42899485@flaska.net>
	<CABa8R6s3V9ysVKQ_RfgpNtr_oHNcG_mmkKo5jUkEKHnVVrESrA@mail.gmail.com>
Message-ID: <40D41F4E-344D-4B60-95DC-8ECC8565CFA6@apple.com>

That?s all well and good for Gmail (and thanks for making that change!), but they aren?t the only ones by far.  (Although they are certainly a significant big one.)  Does doing STATUS on a SELECTed connection would seem reasonable on first glance as a more general solution?  Or is that just not done?  Trying to wait out all of the perfectly-legal-but-somewhat-unfortunate servers seems like an exercise in futility?

Ian

On Mar 20, 2014, at 12:17 PM, Brandon Long <blong@google.com> wrote:

> Our support for unsolicited FETCH responses is in testing.  Anyone who would like to test it is welcome to ping me, and I can enable it for the accounts you specify.
> 
> Brandon
> 
> 
> On Thu, Mar 20, 2014 at 12:07 PM, Jan Kundr?t <jkt@flaska.net> wrote:
> On Thursday, 20 March 2014 14:32:30 EDT, Ian Anderson wrote:
> I?m finding it dismayingly common that servers don?t give flag changes (i.e. an untagged FETCH response with FLAGS) on a NOOP.  Some of them don?t support IDLE, or don?t give flag changes on IDLE either.  At least some of the servers do support CONDSTORE though.
> 
> I'm willing to argue that these servers are broken, and yes, I'm well aware that GMail is among them, and yes, this is despite the fact that RFC2177 does not mention FLAGS explicitly. See [1] (and the rest of that thread) for details.
> 
> Seriously, letting one know about new messages, deleted messages *and* changes of messages' status is the whole point of IDLE. Randomly picking just a subset of these events and not notifying on the rest of them means that we're back to polling. If we're polling, we could very well get rid of the whole IDLE in the first place.
> 
> Anyway, Google's position on the issue is also documented in that thread, so there isn't much point in rehashing it again, I guess. The fact is that compared to the API which is available to their own client, the interface made available via IMAP is seriously limited. Take your own conclusions from that.
> 
> Cheers,
> Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20140320/0e90d6d1/attachment.html>
