[Dovecot] Fetch order

Warren Baker warren at decoy.co.za
Fri Nov 7 15:05:21 EET 2008


2008/11/7 Timo Sirainen <tss at iki.fi>:
> 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 ..
>
> Issue:
>
> a FETCH 3 ..
> b FETCH 2 ..
> c FETCH 1 ..
>
> The latter is less efficient of course.


Yes of course - was just wondering whether there might be some hidden
config option. You are absolutely correct though that webmail would be
fixed quicker :)

Are there any guidelines for IMAP servers indicating what the fetch
order should be?

In the mean time thanks for the suggestions Timo!

Warren


More information about the dovecot mailing list