MBOX-Line: From arnt at gulbrandsen.priv.no  Mon Oct  9 07:39:18 2017
To: imap-protocol@u.washington.edu
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Date: Fri Jun  8 12:34:55 2018
Subject: [Imap-protocol] Is server re-use of UID OK?
In-Reply-To: <1a206274-8bce-f789-4dc9-638ed20e9372@chartertn.net>
References: <38137c2b-f1f1-2bed-e22f-2aea7fa50ac3@chartertn.net>
	<CAByav=gBnVkLg+4z90ewBvKRVtOrEQ7XESfirEQ1dyx=Sb0MXw@mail.gmail.com>
	<abb75221-a38a-3317-86a2-98a8340e55d3@chartertn.net>
	<CAByav=gfGNd2KHyx8kb9GQ-XEfs3L0LzqJuQGJRwDXg9x9mdMA@mail.gmail.com>
	<1a206274-8bce-f789-4dc9-638ed20e9372@chartertn.net>
Message-ID: <d0bd4b95-90bb-4fae-937e-f4ad0c2ebd09@gulbrandsen.priv.no>

Gene Smith writes:
> Yes, for other IMAP servers I have tested, if I copy message 
> "A" 10 times into Inbox I see 10 identical copies of message A 
> in Inbox. For this openwave server, I see only 1 (and uid fetch 
> 1:* (FLAGS) shows only 1).

Have you tested with gmail?

The server doesn't seem to reuse a UID, if I understand you correctly. The 
message has a UID before the COPY command and nothing changes. The UID is 
in continuous use for a particular message, so there's no reuse going on, 
and the ban on reuse does not apply.

Can you find out whether flags apply to the message or to references? Ie. 
if you copy a message into two mailboxes and set flag "foobar" on the 
message in one mailbox, does the flag appear on the message in the other 
mailbox?

Arnt


