From f69e172ae1d2d6b7379732816a7c95e3832b0530 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@open-xchange.com> Date: Thu, 3 Oct 2019 13:46:06 +0200 Subject: [PATCH] lib-sieve: Adjust to changes in Dovecot mailbox_alloc*() API. --- src/lib-sieve/sieve-actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib-sieve/sieve-actions.c b/src/lib-sieve/sieve-actions.c index 28f8d6935..4c01348b8 100644 --- a/src/lib-sieve/sieve-actions.c +++ b/src/lib-sieve/sieve-actions.c @@ -404,8 +404,8 @@ act_store_mailbox_open(const struct sieve_action_exec_env *aenv, flags |= MAILBOX_FLAG_AUTO_CREATE; if (eenv->scriptenv->mailbox_autosubscribe) flags |= MAILBOX_FLAG_AUTO_SUBSCRIBE; - *box_r = box = - mailbox_alloc_delivery(eenv->scriptenv->user, mailbox, flags); + *box_r = box = mailbox_alloc_for_user(eenv->scriptenv->user, mailbox, + MAILBOX_FLAG_POST_SESSION); *storage = mailbox_get_storage(box); if (mailbox_open(box) == 0) -- GitLab