I was running a mail server (SMTP and POP3) for the domain example.com on the old.example.com host and needed to move it to new.example.com. Here's how to do this: