# HG changeset patch # User Timo Sirainen # Date 1512742451 -7200 # Node ID a6c0bec02b576e9df6c1faf49095fa1d4752f0ca # Parent fe760efc829a85762a43cdfb76510040cafdc154 imapc: Don't skip listing "INBOX" when INBOX/ namespace prefix is used. The INBOX was still listed as part of the autocreated mailboxes, unless MAILBOX_LIST_ITER_NO_AUTO_BOXES was used. diff -r fe760efc829a -r a6c0bec02b57 src/lib-storage/index/imapc/imapc-list.c --- a/src/lib-storage/index/imapc/imapc-list.c Mon Dec 04 11:18:24 2017 +0200 +++ b/src/lib-storage/index/imapc/imapc-list.c Fri Dec 08 16:14:11 2017 +0200 @@ -728,6 +728,7 @@ } while ((node->flags & MAILBOX_MATCHED) == 0); if (ctx->info.ns->prefix_len > 0 && + strcasecmp(vname, "INBOX") != 0 && strncmp(vname, ctx->info.ns->prefix, ctx->info.ns->prefix_len-1) == 0 && vname[ctx->info.ns->prefix_len] == '\0' && list->set->imapc_list_prefix[0] == '\0') {