On 1 Feb 2018, at 17.10, Sergio Belkin <sebelk@gmail.com> wrote:


2018-02-01 11:59 GMT-03:00 Sami Ketola <sami.ketola@dovecot.fi>:


On 29 Jan 2018, at 21.57, Sergio Belkin <sebelk@gmail.com> wrote:

Hi,

I have the mailbox of jon.doe@example.com just migrated only with mails after migration, is it ok to run:

doveadm -o mail_fsync=never sync -1 -R -u joe@example.com imapc:

wiil that import all mails missing mails to the new server? I don't want that delete any current mail, is that right the command above?

thanks in advance!

Yes, if you have imapc settings defined somewhere in your config. If not you need to add them to the command line.

Sami



Oh yeah, and you might want to add -o mail_prefetch_count=20 or maybe even more to speed up the migration.

Sami