On 27.1.2012, at 2.33, Gedalya wrote:
# doveadm -o imapc_user=jedi@example.com -o imapc_password=***** backup -u jedi@example.com -R imapc:/tmp/imapc dsync(jedi@example.com): Error: Failed to sync mailbox Drafts: STATUS cannot access mailbox Drafts
Apparently your server doesn't like sending STATUS command to Drafts mailbox and returns a failure. This isn't very nice from it.
dsync(jedi@example.com): Fatal: dsync backup: Looks like you're trying to run backup in wrong direction. Source is empty and destination is not.
The -R parameter reversed the direction. It possibly fails because of the STATUS error. Or maybe some other problem, I'd need to look into it. You could try giving "-m INBOX" parameter to see if it works for one mailbox.
This got me somewhere...
# doveadm -o imapc_user=jedi1@example.com -o imapc_password=***** import -u jedi1@example.com imapc: "" all doveadm(jedi1@example.com): Error: Copying box=INBOX uid=1 failed: Message GUID not available in this server (guid)
Fixed: http://hg.dovecot.org/dovecot-2.1/rev/f3e000992f61
But doveadm import doesn't preserve UIDs.