|One thing that too many people forget, and that should be accounted for before changing the DNS entries for an existing domain, is that the mail will not travel with the domain content.|
Users need to download and/or forward existing messages somewhere else. If they do not, it will be lost.
For the life of me, I don't know why this hasn't been made easier during the life of the 'net... some way to ftp the mail and move it to the new server.
|2009-01-30 17:05:27 - In reply to message 1 from Jeff Greenberg|
|Jeff, you are right domain e-mail accounts need to be migrated too.|
In the case of the e-mail accounts configuration was simply replicated in the new server using rsync because it just a directory set with .qmail files.
Messages sent to the old server end up being redirected automatically because the .qmail files for each account are set to forward messages to mailboxes to the phpclasses.org domain.
Once the DNS records were switched, the old server figured that the phpclasses.org domain is in the new server now.
The same goes for messages that were still in the queue of the old server. Some were undeliverable. So after a few days they bounced back to the respective return-path addresses in the new server.
The only e-mail that could be hold in the old server during the migration were messages to be sent to local mailboxes. These mailboxes were emptied after the migration.