Hi, I am Migrating an old cyrus mailserver to dovecot. in the old cyrus Mailserver all User Mailboxes are sub-mailboxes of their INBOX. I have to preserve that structure. During Migration with dsync I get these Errors: Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted Is there a way to work around these Errors ? Thanks Christoph
Am 23.01.2016 um 10:30 schrieb Christoph Adomeit:> Hi, > > I am Migrating an old cyrus mailserver to dovecot. > > in the old cyrus Mailserver all User Mailboxes are > sub-mailboxes of their INBOX. > > I have to preserve that structure. > > During Migration with dsync I get these Errors: > > Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted > > Is there a way to work around these Errors ? > > Thanks > Christoph >for multiple advanced imap settings at migration you might use imapsync not dsync Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
On 23/01/16 11:30, Christoph Adomeit wrote:> Hi, > > I am Migrating an old cyrus mailserver to dovecot. > > in the old cyrus Mailserver all User Mailboxes are > sub-mailboxes of their INBOX. > > I have to preserve that structure. > > During Migration with dsync I get these Errors: > > Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted > > Is there a way to work around these Errors ? > >can you post doveconf -n and the command line you are invoking when executing dsync? Sami
On 23/01/16 15:33, Robert Schetterer wrote:> for multiple advanced imap settings at migration you might use > imapsync not dsync Best Regards MfG Robert SchettererSure but imapsync does not preserve message UID's which means that users end up redownloading all their messages or message/UID mismatches will happen. Sami
On 23 Jan 2016, at 11:30, Christoph Adomeit <Christoph.Adomeit at gatworks.de> wrote:> > Hi, > > I am Migrating an old cyrus mailserver to dovecot. > > in the old cyrus Mailserver all User Mailboxes are > sub-mailboxes of their INBOX. > > I have to preserve that structure. > > During Migration with dsync I get these Errors: > > Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted > > Is there a way to work around these Errors ?With "doveadm backup" you have gotten into such a state that the INBOX needs to be deleted and recreated to preserve it exactly as it's in source. But you're using Maildir format, which doesn't allow deleting INBOX. So possibilities: a) Don't use Maildir format b) Delete the entire Maildir manually with rm -rf and the next doveadm backup should work (if not then something strange is going on)