[Dovecot] Dovecot dsync mail replication issues

Timo Sirainen tss at iki.fi
Tue May 1 03:35:45 EEST 2012


On Mon, 2012-04-30 at 12:25 -0400, Michescu Andrei wrote:
> > tornado Maildir # doveadm sync -u lyn remote:root at dustbowl.reub.net
> > dsync-local(lyn): Error: Can't rename mailbox
> > INBOX_7a86a62d465a974fb92f00003b258734 to INBOX: Target mailbox already
> > exists
> The setup will run fine as long as you only update 1 server and the other
> one is backup. The current release does not handle well the master-master
> model (you'll endup with emails like the folders above: duplicated, with
> GUID appended to them etc etc)...

It does work, as long as you get the initial configuration to work
properly without adding the _GUIDs. The _GUIDs shouldn't be added if you
do the initial replication to the other side (to nonexistent Maildir!)
via dsync. I guess some plugins might also break this.

> Unfortunately the dsync is not working for the moment. Timo is in the
> process of redesigning it. So once it is release will know about it.

But yeah, the redesign is supposed to make all of this a lot easier and
more reliable. :) The new code can almost do the basics now, but still
needs some time.. I'm giving a talk about it in 3 weeks though, so I'm
planning on it being at least somewhat usable by then. :)





More information about the dovecot mailing list