]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Fix mailbox delete to not delete childrens' INDEX or CONTROL dirs
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 30 Jun 2017 10:56:54 +0000 (13:56 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 3 Jul 2017 12:22:51 +0000 (15:22 +0300)
commit13996627cee91114dbf3cab0bcc67fb02e359a02
treef926ad57dc5f5bcecfa346398f97dc5e2ef4af6c
parenta00dcef10e757922d8f68a5c6260c7439969c133
lib-storage: Fix mailbox delete to not delete childrens' INDEX or CONTROL dirs

If mail_location had separate INDEX and/or CONTROL set, deleting a mailbox
with children caused the childrens' index and/or control directories to be
deleted (but the mail/ALT directories weren't).

I'm not sure why the _FLAG_MAILBOX_FILES was treated as a special case
earlier. It shouldn't make a difference.
src/lib-storage/list/mailbox-list-delete.c