MBOX-Line: From zanbizar at gmail.com  Sat Jun 13 06:30:31 2009
To: imap-protocol@u.washington.edu
From: Tom Davis <zanbizar@gmail.com>
Date: Fri Jun  8 12:34:42 2018
Subject: [Imap-protocol] No DateModified or Equivalent for use with
	Disconnected Clients?
Message-ID: <d055a06e0906130630j25eee4e7t65cf0a6f55d263e8@mail.gmail.com>

Greetings,

I'm working on a IMAP disconnected client and referring to
"Synchronization Operations for Disconnected IMAP4 Clients"
(http://tools.ietf.org/html/rfc4549).

Do I understand correctly that in order to determine if any old
messages on the server have changed after returning from a
disconnected state I have to:

1) Fetch header info (flags etc.) for every single message (1 to
UIDLASTSEEN) in the given server mailbox

2) Compare the flags etc., with last known state of all of the
messages stored on the client machine

...in order to see which old messages on the server have been modified?

If I am correct, this seems crazy inefficient.  Is there no "Date
Modified" search command available?

Any advice appreciated.

-Peter Cross

