I am trying to synchronize two mailboxes which reside in different servers. This is due to a migration process. The old server is a courier server and needs to be accessed via IMAP, whereas the new server is a dovecot server. I am trying to follow the original Dovecot documentation. Unfortunately it is not specified where the configuration of the source IMAP needs to be set, when the doveadm
script is run on the destination server. The documentation provides the settings, but does not mention which dovecot configuration file the settings have to be entered.
Migrating from any IMAP/POP3 server to Dovecot
dovecotimap
Best Answer
You can also do the following on the command-line without configuration files:
I had great problems, because my source IMAP only supports STARTTLS on port 143.
-o imapc_ssl=starttls
was a life-saver in my case.You can make a sync after the initial backup with:
Of course, this is quite insecure if you have more users on the box that can see your commands (and passwords) with
who
or by looking into your .bash_history file, so beware.