On Thu, 2003-07-10 at 12:22, Arnt Gulbrandsen wrote: > C: c uid search (or 1 3) from larryo > S: 2 expunge > S: * search 1 > S: c ok > > Is this even legal? I don't see anything to forbid it. But I also don't > see which message set is searched: uids 1 and 3 or uids 1 and 4?
Well, that is kind of ugly, but I don't think that's a real problem either. The EXPUNGE reply couldn't have been sent before beginning to process UID SEARCH command, so if server wants to send the EXPUNGE reply before SEARCH reply, it has to fix the sequence numbers internally. So UIDs 1 and 3.