MBOX-Line: From MRC at CAC.Washington.EDU  Mon Mar 12 17:25:42 2007
To: imap-protocol@u.washington.edu
From: Mark Crispin <MRC@CAC.Washington.EDU>
Date: Fri Jun  8 12:34:38 2018
Subject: [Imap-protocol] how long can APPEND take? 
In-Reply-To: <07Mar12.161031pst."57996"@synergy1.parc.xerox.com>
References: <07Mar12.121950pst."57996"@synergy1.parc.xerox.com>
	<18599.1173734925.056533@peirce.dave.cridland.net>
	<07Mar12.145541pst."57996"@synergy1.parc.xerox.com>
	<1173742339.9167.48.camel@hurina>
	<07Mar12.161031pst."57996"@synergy1.parc.xerox.com>
Message-ID: <alpine.WNT.0.83.0703121716330.7904@Tomobiki-Cho.CAC.Washington.EDU>

On Mon, 12 Mar 2007, Bill Janssen wrote:
>> If you're going to replace the message, change its UID as well.
> I think I only need to do this if the underlying changes are visible
> through the IMAP protocol.  The only real difference is that they
> would be returned by BODY or TEXT searches that previously didn't

I fail utterly to resolve your first sentence with the second.  Put 
another way, what you describe in your second sentence sure sounds like a 
"change visible through the IMAP protocol".

> The main reason I'm not using an existing IMAP server is that I can't
> stand the long-running searches, so that doesn't appeal to me.

Which server has "long-running searches"?  Sounds like a poorly-configured 
server installation to me.  UW imapd does a text search through 14,000 
messages in about 3-4 seconds, and that's with all the Unicode conversion 
gubbish that has to be done for a good-quality search.

> Could I just not do APPEND?  What's it used for, anyway?  Drafts,
> copying messages from folders on other mail servers, etc.

APPEND is mandatory to implement.  Besides the uses you list, APPEND is 
the only way that an IMAP client can modify a message on the server (e.g., 
to save a copy of the message with attachments removed).

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

