[dovecot-2.2.18][SOLVED] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted.

Marcin Mirosław marcin at mejor.pl
Sat Sep 26 13:11:32 UTC 2015

W dniu 2015-09-24 o 10:27, Marcin Mirosław pisze:
> W dniu 23.09.2015 o 22:12, Timo Sirainen pisze:
>> On 23 Sep 2015, at 18:10, Marcin Mirosław <marcin at mejor.pl> wrote:
>>> With dovecot-2.2.19.rc1 still have this error.
>> "doveadm backup" wants to delete and recreate a folder if there are some changes that can't be incrementally just added to it (mainly if IMAP UIDs would need to be inserted in the middle of the folder). Maildir doesn't allow INBOX to be deleted (because it's difficult), so this fails. Solution is to either not use Maildir format, or rm -rf Maildir manually before running dsync.
> Hi Timo, hi all!
> The problem is that I'm removing all .maildir/ folder before starting
> dsync. This solution doesn't work for me. Do you think that only
> migrating to e.g. mbox and then migrating from mbox to maildir is the
> only way that can works?

Hi all!
I've found what was the root of problem. I removed .maildir/ but I
didn't removed index files.


More information about the dovecot mailing list