diff --git a/src/lib-storage/index/mbox/mbox-storage.c b/src/lib-storage/index/mbox/mbox-storage.c index 2a9ab4de2a..b8c85ae402 100644 --- a/src/lib-storage/index/mbox/mbox-storage.c +++ b/src/lib-storage/index/mbox/mbox-storage.c @@ -183,7 +183,8 @@ static void mbox_storage_get_list_settings(const struct mail_namespace *ns, if (set->subscription_fname == NULL) set->subscription_fname = MBOX_SUBSCRIPTION_FILE_NAME; - if (set->inbox_path == NULL) { + if (set->inbox_path == NULL && + strcasecmp(set->layout, MAILBOX_LIST_NAME_FS) == 0) { set->inbox_path = t_strconcat(set->root_dir, "/inbox", NULL); if (ns->mail_set->mail_debug) i_debug("mbox: INBOX defaulted to %s", set->inbox_path);