dovecot-2.2: imap: LIST (SPECIAL-USE) shouldn't send INBOX reply.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 29 17:55:54 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/12606087a774
changeset: 15297:12606087a774
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 03 05:20:29 2012 +0300
description:
imap: LIST (SPECIAL-USE) shouldn't send INBOX reply.
diffstat:
src/imap/cmd-list.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r b99bead8b339 -r 12606087a774 src/imap/cmd-list.c
--- a/src/imap/cmd-list.c Wed Oct 03 01:38:20 2012 +0300
+++ b/src/imap/cmd-list.c Wed Oct 03 05:20:29 2012 +0300
@@ -878,7 +878,8 @@
/* INBOX always exists */
if (!ctx->inbox_found && ctx->cur_ns_match_inbox &&
(ctx->ns->flags & NAMESPACE_FLAG_INBOX_USER) != 0 &&
- (ctx->list_flags & MAILBOX_LIST_ITER_SELECT_SUBSCRIBED) == 0) {
+ (ctx->list_flags & (MAILBOX_LIST_ITER_SELECT_SUBSCRIBED |
+ MAILBOX_LIST_ITER_SELECT_SPECIALUSE)) == 0) {
str = t_str_new(64);
str_append(str, "* LIST (\\Unmarked) ");
list_reply_append_ns_sep_param(str,
More information about the dovecot-cvs
mailing list