[Dovecot] UID FETCH returns results outside requested range

Timo Sirainen tss at iki.fi
Mon Jul 12 15:58:33 EEST 2010

On Mon, 2010-07-12 at 13:51 +0100, David Woodhouse wrote:
> 01 UID FETCH 152280:* (UID)

* always matches the last message. The client probably should have used
something like:

UID FETCH 152280:2147483647 (UID)

Or even better, just not do it at all when 152280 is the last message it
has seen. It needs to see EXISTS first before it can access new messages
(although I think there is some workaround for this in Dovecot).

More information about the dovecot mailing list