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 [email protected]
userdb: [email protected]
  home      : /var/vmail/[email protected]
  uid       : 5000
  gid       : 5000

Here's the destination side:

root@abbott4 ~ # doveadm user [email protected]
userdb: [email protected]
  home      : /zdata/vmail/[email protected]
  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 [email protected] backup [email protected]

I get :

dsync-local([email protected]): Error: remote: doveadm(ken): Fatal: User doesn't exist dsync-local([email protected]): 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.

Reply via email to