Mercurial > dovecot > core-2.2
changeset 21913:4c81a48916cb
doveadm force-resync: Skip autocreated mailboxes that don't exist yet.
Since they don't exist, there's nothing to resync in them either.
This avoids unnecessarily creating them.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 07 Apr 2017 12:45:49 +0300 |
parents | 7a87ed7c9f88 |
children | dbd455951158 |
files | src/doveadm/doveadm-mail.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/doveadm-mail.c Fri Apr 07 12:42:12 2017 +0300 +++ b/src/doveadm/doveadm-mail.c Fri Apr 07 12:45:49 2017 +0300 @@ -306,6 +306,7 @@ struct mail_user *user) { const enum mailbox_list_iter_flags iter_flags = + MAILBOX_LIST_ITER_NO_AUTO_BOXES | MAILBOX_LIST_ITER_RETURN_NO_FLAGS | MAILBOX_LIST_ITER_STAR_WITHIN_NS; const enum mail_namespace_type ns_mask = MAIL_NAMESPACE_TYPE_MASK_ALL;