[RCU] Slow displaying INBOX with thousands emails

A.L.E.C alec at alec.pl
Thu Oct 25 07:55:16 CEST 2018

On 10/24/18 7:59 PM, Alexey wrote:
> I have user with approximately 500000 emails in his INBOX folder and this is not limit.
> And there is some inconvenience in viewing this folder. It takes about 5-7 seconds to
> display list of emails in folder.
> Pagination is set to 100 emails per page. I checked that IMAP server complete request
> "FETCH 1:100 ENVELOPE" in 147ms, and "FETCH 1:* ENVELOPE" in 6 second. This is why I begun
> to think that RoundCube may request for all emails instead of 100. Roundcube is configured
> for default sort order: descending by receiving date.

Try with disabled or just different sorting (in messages list options menu). Enable
imap_debug to see in the log what imap commands are used and with what timing.

Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer         [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

More information about the users mailing list