Using dsync for a single mailbox?

Sami Ketola sami.ketola at dovecot.fi
Tue Jan 21 10:27:17 EET 2020



> On 21 Jan 2020, at 2.02, Wim Lewis <wiml at hhhh.org> wrote:
> 
> Is it possble to use `doveadm sync` to migrate a single mailbox? I'm 
> migrating accounts from another IMAP server,and most of the mailboxes 
> are in mbox or maildir format, but a few are in MBX. As far as I can tell
> the only recommended way to "convert" an MBX mailbox is to sync it via
> imap. But dsync fails in inscrutable ways, and the documentation is kind
> of scant on how to control what it does.
> 
> Even just an example command line showing how to copy remote mailbox FOO 
> into dovecot mailbox BAR would be extremely helpful.
> 

Hi,

how does dsync fail? How have you tried? Something like this on the new server:

doveadm -o imapc_server=remote_ip -o imapc_port=remote_port -o imapc_user=<remote_victim> -o imapc_password=<remote_victim_password> backup -u <local_victim> -R imapc:

Sami


More information about the dovecot mailing list