Jose Luis Marin Perez writes:

I have installed Horde-Webmail with Apache 2.2.11 + PHP 5.2.9 that connects to the IMAP server Courier-Imap 4.1.2.

The problem is with the mail accounts that have too many messages (+1500) and the webmail is configured to sort by date or size it will take to display more than 2 minutes.

I have configured Courier-Imap with option IMAP_DISABLETHREADSORT = 0 means that the ordering is done on the server, there are some parameter or trick you can do to get faster this order?

It takes my IMAP client about 15 seconds to sort about 8,000 messages.

For starters "webmail over IMAP" is the worst possible design I've ever seen in the last fifteen years. Although it's true that there are plenty of webmail software that babble IMAP, it doesn't make this approach any less stupid then it is. My webmail server, sqwebmail, does its job just fine without bothering to babble IMAP. It reads mail directly, from the maildir, which is hundreds of times faster.

So, your first problem is that you've set up a horridly inefficient way to read one's mail. Secondly, even if the server is capable of sorting messages, it does not mean that your IMAP client will use this feature. Just because the server is capable of sorting messages, it has no way of forcing the IMAP client to make use of it. If the IMAP client insists on downloading every message in the folder, in order to sort them, there's nothing that the server can do about it. Because this is actually an optional IMAP feature, many IMAP clients don't even bother implementing it, instead choosing to always sort everything by themselves, because that'll work with any IMAP server.


Attachment: pgpHKfD7dq4dj.pgp
Description: PGP signature

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to