On 28.9.2004, at 20:30, Michael Wener wrote:

Session 1
1 IDLE
+ IDLE Accepted
<Some time passes and then new mail arrives>
* N EXISTS
* 1 RECENT

Session 2
<Ah Ha, I see I have new mail>
2 FETCH N BODYSTRUCTURE
* N EXISTS
* 1 RECENT
2 NO the specified message set is invalid

This is clearly a client bug. There are no guarantees that multiple sessions have compatible sequence numbers. Expunges especially may make the fetch return wrong message. At minimum the client should do UID FETCH and do some fallback processing if it doesn't return anything.

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to