Re: [Imap-protocol] Is server re-use of UID OK?

Tim Showalter <[email protected]> Sun, 8 Oct 2017 14:43:59 -0700
Newsgroups gmane.mail.imap.general
Message-ID <CAByav=gBnVkLg+4z90ewBvKRVtOrEQ7XESfirEQ1dyx=Sb0MXw@mail.gmail.com>
--===============3897885242045777319==
Content-Type: multipart/alternative; boundary="001a1141b37ec685cd055b0ff8e8"

--001a1141b37ec685cd055b0ff8e8
Content-Type: text/plain; charset="UTF-8"

On Sun, Oct 8, 2017 at 1:58 PM, Gene Smith <[email protected]> wrote:

> Copy a message with UID 1267 from Inbox to Mbox and deleted it in Inbox.
> With Inbox selected:
>
> C: aaa UID COPY 1267 "Mbox"
> S: aaa OK [COPYUID 123456789 1267 1007] UID COPY completed
> C: bbb UID store 1267 +Flags (\Deleted)
>


> C: ccc UID COPY 1007 "Inbox"
> S: ccc OK [COPYUID 987654321 1007 1267] UID COPY completed
> C: ddd UID store 1007 +Flags (\Deleted)
>


> Does this seem like acceptable imap server behavior?
>

No, this is a violation. Both messages have UID 1267, and if there is no
intervening EXPUNGE, the first message still exists when the second one
overwrites it. Neither behavior is remotely permissible.

Tim

--001a1141b37ec685cd055b0ff8e8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
un, Oct 8, 2017 at 1:58 PM, Gene Smith <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">Copy a message with UID 1267 from I=
nbox to Mbox and deleted it in Inbox. With Inbox selected:<br>
<br>
C: aaa UID COPY 1267 &quot;Mbox&quot;<br>
S: aaa OK [COPYUID 123456789 1267 1007] UID COPY completed<br>
C: bbb UID store 1267 +Flags (\Deleted)<br></blockquote><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
C: ccc UID COPY 1007 &quot;Inbox&quot;<br>
S: ccc OK [COPYUID 987654321 1007 1267] UID COPY completed<br>
C: ddd UID store 1007 +Flags (\Deleted)<br>
</blockquote><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does this seem=
 like acceptable imap server behavior?<br></blockquote><div><br></div><div>=
No, this is a violation. Both messages have UID 1267, and if there is no in=
tervening EXPUNGE, the first message still exists when the second one overw=
rites it. Neither behavior is remotely permissible.</div><div><br></div><di=
v>Tim</div><div><br></div></div></div></div>

--001a1141b37ec685cd055b0ff8e8--

--===============3897885242045777319==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
--===============3897885242045777319==--