Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're moving a bunch of sites from one of our cPanel servers to another one. What i'm interested in is the best solution for making sure that mail accounts are not affected by propagation. The cpanel account transfer will transfer all mail from old->new but from the inital DNS change there is always a chance that some mail will be routed to the original server not the new server. Short of asking someone to check both mailboxes for a short time is there a more solid solution we can put in place? We tend to have full control of DNS so we can do what we want from that end if need be.

Let me know if this doesnt make sense.


share|improve this question

closed as off-topic by HopelessN00b Feb 22 '15 at 0:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

The first step is to lower the TTL on the MX record 24 hours prior to the move to a very low value, such as 5 minutes. Then when you actually perform the migration, only DNS requests made within the last 5 minutes will cache the old mailserver IP. After you've determined that everything moved correctly and you are not going to be undoing the migration, set the TTLs back to the normal amount. You should do this for all records you are moving, too, unless you want web traffic going to the old server.

I'm not certain, but moving accounts off the cPanel system may, in fact, remove the mail configuration for the domains on that account. That being said, mail that would have been accepted may be rejected after the move. That's a mixed bag for you, since it will mean that the sending mailservers will put the messages in a retry queue and reattempt delivery at a later date (hopefully using the new MX records, and the new mailhost). Of course, this does mean there will be a delay for those messages.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.