MBOX-Line: From alexey.melnikov at isode.com  Wed Mar 14 11:19:57 2007
To: imap-protocol@u.washington.edu
From: Alexey Melnikov <alexey.melnikov@isode.com>
Date: Fri Jun  8 12:34:38 2018
Subject: [Imap-protocol] SEARCH restricted to one mailbox?  Extensions?
In-Reply-To: <45F6A2E4.3060502@aol.com>
References: <07Mar12.152936pst."57996"@synergy1.parc.xerox.com>	<1173743673.9167.65.camel@hurina>
	<45F6A2E4.3060502@aol.com>
Message-ID: <45F83CCD.2050808@isode.com>

John Snow wrote:

> How about combining the multiple mailbox search with a select command 
> to create a temporary mailbox view that contains the search result?  
> Since it doesn't exists as a listable mailbox, then it can't be the 
> destination for a copy command, avoiding any issue of which underlying 
> mailbox should be the destination.  The untagged exists response 
> response would show the number of hits to the search query.  Also, the 
> result set could be referenced by sequence number instead of the 
> individual UIDs as returned by the standard search command.

This looks similar to VFOLDER extension: 
<http://tools.ietf.org/html/draft-ietf-lemonade-vfolder-01>


