Migrate e-mail server
·1 min
I recently used imapsync
to transfer my emails from one mail server to another, and it was so easy! All I did was:
imapsync \
--host1 imap.migadu.com \
--user1 hi@ketanvijayvargiya.com \
--password1 "foo" \
--host2 box.ketanvijayvargiya.com \
--user2 hi@ketanvijayvargiya.com \
--password2 "bar"
Plus, I could migrate without downtime: I setup the new server, migrated emails and then changed my MX records. That way, my older server was fully active during the migration and I switched only once I verified the new server was fully setup.