Migrating a domain in four phases, every step reversible until the last

Migrating a domain in four phases, every step reversible until the last A workflow diagram generated by Archify. 01 / Your DNS 02 / The two servers EX / If something is wrong Prepare Run both Cut over Retire Lower the TTLs · MX, A: a few minutes · Your DNS › Prepare Lower the TTLs MX, A: a few minutes Both in DNS · new DKIM selector, SPF · Your DNS › Run both Both in DNS new DKIM selector, SPF Point the MX · at the new server · Your DNS › Cut over Point the MX at the new server Remove the old · SPF entry, then selector · Your DNS › Retire Remove the old SPF entry, then selector Write it all down · mailboxes, aliases, senders · The two servers › Prepare Write it all down mailboxes, aliases, senders Set up the new server · test it directly · The two servers › Run both Set up the new server test it directly Copy the mail · imapsync, first pass · The two servers › Run both Copy the mail imapsync, first pass Final sync · old server still accepting · The two servers › Cut over Final sync old server still accepting Shut the old down · days later · The two servers › Retire Shut the old down days later Point the MX back · nothing removed yet · If something is wrong › Cut over Point the MX back nothing removed yet nothing new for days badly wrong Legend Server work The way back DNS changes