[Dovecot] Fetch order

Timo Sirainen tss at iki.fi
Fri Nov 7 14:44:42 EET 2008

On Fri, 2008-11-07 at 14:37 +0200, Warren Baker wrote:
> But if we fetch the latest 25 messages, Dovecot will fetch the lowest
> UID in the list first, so from the example above it would fetch UID
> 171,172,173 and so on. Courier on the other hand would start the fetch
> on UID 195,194,193 and so on.
> We have an internal developed webmail application that has been
> affected by this change, so I am just wondering whether there is a
> interim fix while we fix our webmail application to cater for this.

Not really. I'm sure you'll have your webmail code fixed before you
could have changed Dovecot to return results in different order..

Or you could of course have your webmail code issue commands a bit
differently. Rather than:

a FETCH 3,2,1 ..


a FETCH 3 ..
b FETCH 2 ..
c FETCH 1 ..

The latter is less efficient of course.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081107/048e198a/attachment.bin 

More information about the dovecot mailing list