Ubuntu 12.04 with mail server - Migrating to new droplet without losing emails?

  • Posted July 15, 2014

I’m currently running droplet with Ubuntu 12.04 running postfix / dovecot mail server with virtual routing managed through Vimbadmin. I’m looking to migrate to a bigger droplet, both for the increased hardware supported and in order to update ubuntu to 14.04 along with several other packages which have caused problems when trying to update on the existing droplet, resulting in a loss of emails.

Is there a way to ‘cache’ or store any emails sent to the current mail server during the transition over to the new server which can then be sent on/retrieved once the new droplet is all setup and has the current DNS record set to the new IP etc?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The sending mail servers should queue mail for redelivery if neither of the servers are reachable. As long as you’ve set up proper MX records, the original server will continue to receive mail while you are waiting for the records to propagate. You can use a tool like imapsync to sync the mail boxes across the servers.