[Dovecot] dsync deleted my mailbox - what did I do wrong?

Teemu Huovila teemu.huovila at dovecot.fi
Tue Apr 8 13:47:24 UTC 2014


On 04/08/2014 03:00 PM, Nikolaos Milas wrote:
> Neither using replication nor using dsync from CLI leads to subfolders getting replicated, as I have explained. As an example,
> if a user creates subfolder "boxtest" e.g. under Inbox on either side, it never gets created on the other side.
I cant find any errors, but I might be missing something obvious. I only have a few suggestions for things to check.

1) You listed the config for one host (vmail i assume). Is the configuration similar on the vmail1 side? Especially, can the
command dsync -u <user> find the correct location for the users mails?

2) For the replicator plugin scenario, does doveadm have access to auth, i.e. does doveadm user '*' work on both sides?

3) Are the dovecot instances running on different hosts (dovecot --hostdomain is different)?

4) Instead of "dsync mirror", try using the v2.2 syntax "doveadm sync". Also, i _think_ you need to execute dsync-server on the
other side, so your full command becomes:
doveadm sync -u imaptester ssh -l root vmail1.example.com doveadm dsync-server -u imaptester
Sadly, there is no man-page for doveadm sync yet.

br,
Teemu Huovila


More information about the dovecot mailing list