[Dovecot] problem migrating from maildir to dbox
Timo Sirainen
tss at iki.fi
Mon Sep 12 17:09:57 EEST 2011
You changed the mail_location globally to dbox? You should instead do it
one user at a time, like explained in
http://wiki2.dovecot.org/Tools/Dsync (with initial dsync done before
user's mail_location is ever changed).
Otherwise you'll get these duplicate INBOXes and you'll need to somehow
manually figure out how to merge them. There are "doveadm move" and
"doveadm mailbox delete" commands for example.
On Mon, 2011-09-12 at 15:38 +0200, Ramón Frontera wrote:
> While the dovecot is running with the new mail_location to dbox, I try to migrate the maildir content.
> This is the reason because INBOX already exists.
>
> --
> ------------------------------------------
> Ramon Frontera Gallardo
> Centre de Tecnologies de la Informació
> Universitat de les Illes Balears
> Ctra. Valldemossa km 7,5
> 07122 Palma de Mallorca
>
>
>
>
> El 12/09/2011, a las 14:06, Timo Sirainen escribió:
>
> > On Mon, 2011-09-12 at 13:52 +0200, Ramón Frontera wrote:
> >>>> After that we use dsync -u user mirror maildir:~/Maildir.
> >>>> The problem is that if INBOX exists the dsync create a new folder with name like b5893c0a93ff694e551200002dfa3112
> >>>> Can I migrate to the existing INBOX? or How can I merge the 2 INBOX folders?
> >
> > Have you created the dbox directory before running dsync? And opened it
> > with some tool? I tried with your config and it worked fine.
> >
> > The reason why these duplicate INBOXes happen is when INBOX exists both
> > in source and in destination when dsync is run. Typically this means
> > that you've created the destination INBOX already by e.g. logging in or
> > delivering a mail there or something..
> >
> >
>
More information about the dovecot
mailing list