[Dovecot] how-to use dsync to do a 2 ways replication ?

Timo Sirainen tss at iki.fi
Mon Jan 18 10:41:13 EET 2010


On 13.1.2010, at 22.48, Eric Belhomme wrote:

> So I compiled dovecot 2.0 beta 1 in order to use dsync utility...

You should try with the latest hg version. Or wait until I'll release beta2. Hopefully by next weekend.

> I logged on the first server with an IMAP client then I copied many
> email through IMAP, then I launched dsync as root :
> 
> /usr/local/dovecot2/bin/dsync -v mirror 'ssh
> eole.it.fr.eve /usr/local/dovecot2/bin/dsync'
> root at eole.it.fr.eve's password: 
> dsync-local(root): Error: Can't create mailbox ssh: Mailbox already
> exists
..
> It seems dsync tries to use my system user database instead of
> the /etc/dovecot/userpasswd file !

Give it -u username parameter. It currently supports syncing only one user at a time.


More information about the dovecot mailing list