Sorting Support in IMAP

Kevin Landers support at
Mon Aug 14 18:04:58 CEST 2006


That is what I suspected was going on. For some reason, my IMAP service returns no support flags when you check the CAPABILITY of the service. However, I know that QUOTA and SORT are both enabled on this server. I had to hardcode the QUOTA checks in RoundCube to comment out the actual capability search.

Any idea where in the code that RoundCube does this check for SORT capability?


Kevin L.

On Mon, 14 Aug 2006 07:39:28 -0700 (PDT), Eric Stadtherr <estadtherr at> wrote:
> 	Kevin,
> 	RoundCube queries the support from the IMAP server using the
> "CAPABILITY" command. If you telnet to your imap port, you can check
> it yourself:
> 	% telnet  imap
> Trying ...
> Connected to .
> Escape character is '^]'.
> * OK IMAP Server Ready
> a OK CAPABILITY completed
> 	If "SORT" is part of what is returned, then RoundCube knows it can
> use the "SORT" command to order the messages based on your selected
> columns. 
> 	-Eric
> 	?
> 	On Sun, 13 Aug 2006 1:41:35 -0400, Kevin Landers  wrote:
> 	I am wondering what kind of look up or test RoundCube does in order
> to decide whether or not it will allow the user to use the sorting
> function at the top of the columns in your mail folders.
> I have had the problem with quotas in the past, where RoundCube's
> initial look for Quota support in IMAP failed, even though Quota
> support does exist. So I had to comment out the checks for the Quota
> support in order to force RC to just go ahead and use the Quota
> functions.
> I am wondering if RC is doing a similar lookup in reference to
> sorting. I have logged in using Brett's RC 0.1 Beta 2 demo
> install. I logged into a demo account provided by "SKaero" on the RC
> forums When I use his demo email account, the sorting features are
> present in each column. However, I then logged out and logged back in
> using my own account on my own server and I do not receive any
> sorting options.
> Where should I look to resolve this issue? Anyone have any insights?
> Thanks in advance,
> Kevin L.

More information about the Dev mailing list