dovecot-2.2: imap: Handle XLIST command by running LIST command.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:29 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/03499202690f
changeset: 14362:03499202690f
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 21 12:08:32 2012 +0200
description:
imap: Handle XLIST command by running LIST command.
If the SPECIAL-USE mailboxes are enabled, this results in mostly compatible
output. This change allows easily enabling the GMail XLIST extension simply
by adding +XLIST to imap_capability setting.

diffstat:

 src/imap/imap-commands.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r b2a3775c7a87 -r 03499202690f src/imap/imap-commands.c
--- a/src/imap/imap-commands.c	Tue Mar 20 17:46:44 2012 +0200
+++ b/src/imap/imap-commands.c	Wed Mar 21 12:08:32 2012 +0200
@@ -59,7 +59,8 @@
 	{ "UID SORT",		cmd_sort,        COMMAND_FLAG_BREAKS_SEQS },
 	{ "UID THREAD",		cmd_thread,      COMMAND_FLAG_BREAKS_SEQS },
 	{ "UNSELECT",		cmd_unselect,    COMMAND_FLAG_BREAKS_MAILBOX },
-	{ "X-CANCEL",		cmd_x_cancel,    0 }
+	{ "X-CANCEL",		cmd_x_cancel,    0 },
+	{ "XLIST",		cmd_list,        0 }
 };
 #define IMAP_EXT_COMMANDS_COUNT N_ELEMENTS(imap_ext_commands)
 


More information about the dovecot-cvs mailing list