dovecot-2.2: lib-storage: Add \Noinferiors flag to INBOX when su...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 4 20:05:45 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/96381ea68124
changeset: 16166:96381ea68124
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 04 20:05:37 2013 +0300
description:
lib-storage: Add \Noinferiors flag to INBOX when such namespace config is used.
diffstat:
src/lib-storage/list/mailbox-list-iter.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 05d2b6003495 -r 96381ea68124 src/lib-storage/list/mailbox-list-iter.c
--- a/src/lib-storage/list/mailbox-list-iter.c Thu Apr 04 19:45:28 2013 +0300
+++ b/src/lib-storage/list/mailbox-list-iter.c Thu Apr 04 20:05:37 2013 +0300
@@ -594,7 +594,9 @@
if (info != NULL) {
if (strcasecmp(info->vname, "INBOX") == 0 && ctx->inbox_list) {
/* delay sending INBOX reply. we already saved its
- flags at init stage */
+ flags at init stage, except for \Noinferiors */
+ ctx->inbox_info.flags |=
+ (info->flags & MAILBOX_NOINFERIORS);
return FALSE;
}
if (strncasecmp(info->vname, "INBOX", 5) == 0 &&
More information about the dovecot-cvs
mailing list