PHP Classes

Step 11 of 10

Recommend this page to a friend!

      PHP Classes blog  >  10 steps to migrate W...  >  All threads  >  Step 11 of 10  >  (Un) Subscribe thread alerts  
Subject:Step 11 of 10
Summary:Don't forget the mail
Author:Jeff Greenberg
Date:2009-01-30 14:39:01
Update:2009-01-30 17:05:27

  1. Step 11 of 10   Reply   Report abuse  
Picture of Jeff Greenberg Jeff Greenberg - 2009-01-30 16:52:56
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.

  2. Re: Step 11 of 10   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 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 domain.

Once the DNS records were switched, the old server figured that the 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.