• Community Support
  • USEnglish
  • How to migrate all the emails from one server to the other?

I’m aware of ImapSync.

Does MailCow, however, offer its own way of migrating all the emails from one server to the other?
Preferably, as complete as possible: settings, mailboxes, domains….

Meaning, I won’t mind to pack and then copy the directories over to the other server. My concern is restoring and running all that on the other server, and whether this is supported by Mailcow at all.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

As I had a very old imap server (last updated in 2016), the migration script was not able to connect to the old and expired TLS certificate. I tried the option to ignore certificate errors, to no avail.
In the end, Apple Mail was still able to connect though, so I had to migrate all the mailboxes for the clients by hand :-(

8 days later

On a new server I clone the repo of mailcow, copy a backup directory over to this server from an old one. And at what point then should I run

 ./helper-scripts/backup_and_restore.sh restore

?

Should I set up and install mailcow first?

Because a backup from the previous machine may contain all the config settings too. Or it may not too, depeinding on what’s been backed up. Then I should install

No one is typing