Webmail move: Checklist
- Stop old and new postfix/dovecot/nginx processes
- Start copy of mail folders to temp dir
- Copy TLS certs to new machine
- Check new postfix/dovecot conf is pointing at the right cert
- Confirm that new postfix has the right domains
- Create sites in new nginx for new domains
- Update webmail app config for new domain names
- Login to Bytemark panel
- Login to Mythic account
- Get the "yes it's really my domain code" from Mythic and apply it to the Bytemark panel (for all domains that Bytemark is still hosting)
- Delete other records from Bytemark dns
- Add domains to Mythic
- Create records for mythic
- Wait for mail messages to finish transferring
- Move into place
- Start new dovecot, maybe wait for indexing (Todo: check if there's a "reindex" command)
- Start nginx, confirm dns and imap
- Check imap from phone
- Start new postfix
If there are problems then can point dns back at old machines.
Todo: Setup a couple of scripts to add/remove the DNS records from the mythic api