From: Markus Valentin Date: Wed, 15 Sep 2021 12:44:42 +0000 (+0200) Subject: imapc: Add MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX storage class flag X-Git-Tag: 2.3.17~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b04cb5ea03c10d479c9d01425d8d3e9e8709e98d;p=thirdparty%2Fdovecot%2Fcore.git imapc: Add MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX storage class flag Add SECONDARY_INDEX storage class flag to enable storing shared private indexes in obox user root bundle. --- diff --git a/src/lib-storage/index/imapc/imapc-storage.c b/src/lib-storage/index/imapc/imapc-storage.c index 520dc52368..71d9bb768d 100644 --- a/src/lib-storage/index/imapc/imapc-storage.c +++ b/src/lib-storage/index/imapc/imapc-storage.c @@ -1253,7 +1253,8 @@ static bool imapc_is_inconsistent(struct mailbox *box) struct mail_storage imapc_storage = { .name = IMAPC_STORAGE_NAME, .class_flags = MAIL_STORAGE_CLASS_FLAG_NO_ROOT | - MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT, + MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT | + MAIL_STORAGE_CLASS_FLAG_SECONDARY_INDEX, .event_category = &event_category_imapc, .v = {