In general, Courier supports the capability check, but your particular installation may have been built/configured to not support that. I'm not sure why, unless someone was being really stingy and didn't want the capability support code in their imapd memory footprint... -Eric On Mon, 14 Aug 2006 12:47:50 -0400, Kevin Landers wrote: Eric, Thanks. I asked around, we are using courier and are not sure whether courier IMAP supports the capability chekc or not. Each time I run it on our server, I get a blank list of results. HOWEVER, I went in and commented out the four checks for "SORT" - 2 in rcube_imap.inc, 1 in func.inc, and 1 in show.inc. Now that I have commented out the checks for "SORT" support (in both beta2 and svn) I am able to sort correctly by any of the columns at the top and in any order (ASC or DESC). So, in short, I dont get a response from the CAPABILITY check for either QUOTA or SORT support, but I have commented out the portions of code for those checks and I am able to use both in RC (again, Beta 2 and SVN 317). Thanks, Kevin L. On Mon, 14 Aug 2006 10:13:44 -0600, Eric Stadtherr wrote: > > > Kevin, > > The "CAPABILITY" command happens as part of the initial IMAP server > connection (rcube_imap::connect(), iil_Connect()). The check for > "SORT" happens when doing the "List Headers" command > (rcube_imap::_list_headers(), rcube_imap::get_capability()). > > ? > > On Mon, 14 Aug 2006 12:04:58 -0400, Kevin Landers wrote: > Eric, > > 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? > > Thanks, > > Kevin L. > > On Mon, 14 Aug 2006 07:39:28 -0700 (PDT), Eric Stadtherr 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 CAPABILITY >> * CAPABILITY IMAP4rev1 AUTH=PLAIN NAMESPACE QUOTA SORT >> 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.