Don't worry Matthew, nothing will change on the 2.0 branch without due process.


Matthew T. O'Connor wrote:
SORT is now removed from the CAPABILITIES of HEAD? or even from the 2.0.x branch? I would hope that 2.0.x stays the way it is.

Paul J Stevens wrote:

Yes, sort is broken. A known problem slated to be fixed in the 2.1.x series. The current sort functionality is strictly aimed at the command profile used by squirrelmail. Other clients are *not* supported for sort. Sorry about that. That patch should never have made it into cvs-head. My fault entirely.

SORT is now removed from the CAPABILITIES string.


Geo Carncross wrote:

IMAP sort is treated completely wrong.

The arguments are NOT
    ["charset" charset-atom] search...

but actually:
    program-list charset-atom search...

Thusly, I should be able to say:
    . SORT (DATE REVERSE SUBJECT) US-ASCII ALL NOT DELETED

but this doesn't work. See

http://www.ietf.org/internet-drafts/draft-ietf-imapext-sort-17.txt

for the current version of the specification for the IMAP SORT
extension.

Worse still, if I actually go ahead and:
. SORT CHARSET US-ASCII ALL NOT DELETED

I get garbage:

* SORT 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

This is completely wrong. If "SORT" isn't supported, it MUST not be
announced when one says ". CAPABILITY"

Please remove it from CAPABILITY until this is fixed.



------------------------------------------------------------------------

Index: imap4.h
===================================================================
RCS file: /cvsroot-dbmail/dbmail/imap4.h,v
retrieving revision 1.47
diff -u -r1.47 imap4.h
--- imap4.h    2005/01/07 12:46:39    1.47
+++ imap4.h    2005/03/01 00:39:35
@@ -34,7 +34,7 @@
#define IMAP_SERVER_VERSION VERSION
 //#define IMAP_CAPABILITY_STRING "IMAP4 IMAP4rev1 AUTH=LOGIN QUOTA"
-#define IMAP_CAPABILITY_STRING "IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE SORT" +#define IMAP_CAPABILITY_STRING "IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE" #define IMAP_TIMEOUT_MSG "* BYE dbmail IMAP4 server signing off due to timeout\r\n" /* max number of BAD/NO responses */


------------------------------------------------------------------------

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to