On Tue, Aug 21, 2007 at 11:38:17AM -0500, John Goerzen wrote:
> Down that path lies madness.
> 
> Opening a folder read-only should refer to the ability of the client to 
> modify things in it, not to the ability of the server to present consistent 
> metadata.
> 
> Consider this: On Monday, you connect to a Courier IMAP server and SELECT 
> folder foo.  UIDs are set and a uidvalidity is established.  You disconnect 
> and don't make any further connection attempts until Tuesday.  On Tuesday, 
> you EXAMINE the folder.  Courier returns the same UIDVALIDITY as on Monday, 
> but 50 new messages have arrived.  If Courier interprets EXAMINE to 
> mean "don't open anything writable", how will Courier store the UIDs that 
> have been assigned to these messages, so that when you EXAMINE again on 
> Wednesday, you get the exact same UIDs for the same 50 new messages 
> messages?
> 
> I would think that Courier would *have* to write to disk in that situation.

Let me look into it; I'll get back to you.

-- 
Daniel Jacobowitz
CodeSourcery


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to