It looks that your IMAP server doesn't support SORT command,
Indeed:
[...] 15-Sep-2010 19:22:05 +0200]: S: * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (xmailf3.ad.ua.ac.be) ready. [15-Sep-2010 19:22:05 +0200]: C: cp01 CAPABILITY [15-Sep-2010 19:22:05 +0200]: S: * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN [...] ===================================== *snap* =====================================
Go to message list options menu and select "None" in "Sorting column" fieldset.
That *did help a great deal. I adapted the default sorting in the main.conf and things are a lot faster now. Thanks!
Now it's the actual message headers
[...] [15-Sep-2010 19:24:37 +0200]: S: ) [15-Sep-2010 19:24:37 +0200]: S: * 40 FETCH (UID 40 RFC822.SIZE 80687 FLAGS (\Seen) INTERNALDATE "28-Jul-2009 22:00:33 +0200" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES DISPOSITION-NOTIFICATION-TO X-PRIORITY X-DRAFT-INFO)] {297} [15-Sep-2010 19:24:37 +0200]: S: Date: Mon, 21 Jan 2008 18:18:18 +0200 From: "Tammy Kolda" nadigest@comcast.net To: na-digest@cs.utk.edu Subject: NA Digest, V. 08, # 03 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C85C4A.0DDD4780" Message-ID: 200801211618.m0LGIIfw025483@netlib2.cs.utk.edu [...] ===================================== *snap* =====================================
which cause most of the loading time.
--Nico
On Wed, Sep 15, 2010 at 1:12 PM, A.L.E.C alec@alec.pl wrote:
Nico Schlömer wrote:
Aha! This tells me more about what's slow indeed: When clicking on a folder, all the messages are fetched one after the other, the logs spitting out something along the lines of
========================================= *snip*
[...]
[15-Sep-2010 18:21:47 +0200]: S: ) [15-Sep-2010 18:21:47 +0200]: S: * 621 FETCH (INTERNALDATE " 9-Sep-2010 14:19:43 +0200" BODY[HEADER.FIELDS (DATE)] {47} [15-Sep-2010 18:21:47 +0200]: S: Date: Thu, 9 Sep 2010 14:18:59 +0200 (CEST)
[...] ========================================= *snap* =========================================
Each one of those calls takes some time (about 0.07 secs), and for folders with more than 1500 messages in it that's sums up to about 2 minutes. This is were the delay sits. I'm not sure about the implications. Would that mean that the connection to the server is slow?
It looks that your IMAP server doesn't support SORT command, so only solution is to use default sorting. Go to message list options menu and select "None" in "Sorting column" fieldset.
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/users/ BT/500a1e2e
List info: http://lists.roundcube.net/users/ BT/9b404e9e