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.
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?
For the replicator plugin scenario, does doveadm have access to auth, i.e. does doveadm user '*' work on both sides?
Are the dovecot instances running on different hosts (dovecot --hostdomain is different)?
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