imapc fetch optimization
Timo Sirainen
tss at iki.fi
Mon May 4 08:59:34 UTC 2015
On 28 Apr 2015, at 23:49, Nagy, Attila <bra at fsn.hu> wrote:
>
> Hi,
>
> imapc does a lot of UID FETCH $UID (BODY.PEEK[]), which is nice, because it works even with the dumbest IMAP server, altough it really kills performance, especially on high latency lines.
>
> I wonder: if IMAP servers can effectively handle boundless fetches (like a list with all wanted UIDs, or simply 1:* if all are needed), do you see this as a good addition to develop?
Set mail_prefetch_count = 10 or 100 or something and it'll do larger FETCHes. The higher the value, the more memory/disk space is used for storing the received mails.
More information about the dovecot
mailing list