On 2012-05-07 07:45, Charles Marcus wrote:
Is there a question in there somewhere?
Sorry about that. I'm trying to understand the syntax of the dsync command. I have two servers with almost identical mail setups using dovecot 2.13.
Here's the source side:
$ doveadm user ken@allenmyland.com userdb: ken@allenmyland.com home : /var/vmail/ken@allenmyland.com uid : 5000 gid : 5000
Here's the destination side:
root@abbott4 ~ # doveadm user ken@allenmyland.com userdb: ken@allenmyland.com home : /zdata/vmail/ken@allenmyland.com uid : 5000 gid : 5000
What is the correct syntax of the dsync command to backup email from the first server to the second?
If I su to vmail then use
$ dsync -u ken@allenmyland.com backup ken@abbott4.allenmyland.com
I get :
dsync-local(ken@allenmyland.com): Error: remote: doveadm(ken): Fatal: User doesn't exist dsync-local(ken@allenmyland.com): Error: read() from worker server failed: EOF
I presume that's because it's doing a user lookup on the remote side for ken instead of using my email address. How do I specify the username for the remote side?
Any help would be appreciated.