MBOX-Line: From dave at cridland.net  Fri Mar 23 02:35:49 2007
To: imap-protocol@u.washington.edu
From: Dave Cridland <dave@cridland.net>
Date: Fri Jun  8 12:34:38 2018
Subject: [Imap-protocol] SEARCH restricted to one mailbox? Extensions?
In-Reply-To: <46029DF5.8060801@aol.com>
References: <46029DF5.8060801@aol.com>, <"07Mar12. 152936pst.
	57996"@synergy1.parc.xerox.com> <1173743673.9167.65.camel@hurina>
	<45F6A2E4.3060502@aol.com> <45F83CCD.2050808@isode.com>
	<45F84311.3080906@aol.com>
	<jhC3CqDZvoKAsUpydmv19Q.md5@libertango.oryx.com>
	<45F84F27.6080202@aol.com>
Message-ID: <2048.1174642549.442200@Nokia-N800-51>

John Snow wrote:
> If we were to combine the multimailbox search with vfolder, what is 
> expected to be used for UIDs in a view the includes multiple 
> mailboxes?  In the normal vfolder, the UID is the same one that 
> exists in the underlying mailbox.  But since UIDs are only required 
> to be unique within the mailbox, combining multiples and using the 
> underlying UID for the message could result in duplicate UIDs.  So, 
> that's not right.
> snow.
UIDs are not simply unique, but strictly increasing.
In a singly-backed vfolder, the uids can be the same if and only if 
messages cannot dynamically appear other than bby delivery.
Dave.

