Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I just migrated a web site from one server to another and this domain also has 50+ e-mail accounts. I open new accounts on the new server with same passwords.

I changed DNS pointing to new server.

I am also keeping the old one now in order to miss any e-mail if the e-mail arrives that server.

I am wondering if that's a good idea or not? what should I do here to prevent any e-mail delivery errors if I remove my old app from the old server.


I have just checked the mailboxes on the old server and there are still some e-mail coming there. It has been 12 hours since I changed the DNS.

share|improve this question
up vote 1 down vote accepted

Well, that's a quite complex question.

It looks like you have only one mail server for your domain, which is not a good idea - the best practice is to have multiple mail servers with different preference value (in DNS), so when the master goes down, a slave server will collect all your mails.

On the other hand, if you have only one mail server and it is down, the remote mail server should retry to send the e-mail after some pre-defined interval. And then retry again (and again...) - usually it will retry for a day or even more with exponentially growing intervals between the retries.

Your current setup will do the job too. You just have to think about synchronizing mailboxes between your 2 servers. There are some tools like imapsync, which unfortunately is a paid application now, but maybe you could use something similar.

share|improve this answer
thanks for the input. on my old server (which is windows server 2003) under the forward lookup zones my domain's mail Host has a IP address. do u think it will forward all the massages to the new server if I change the ip address of that? Also, hos do I configure to have multiple mail servers with different preference value (in DNS)? – tugberk Jul 10 '11 at 8:06
Is the domain served by your own DNS server, or it's served by a 3rd party? In the latter case you'll have to make all changes on this 3rd party company's web site. – Vladimir Blaskov Jul 10 '11 at 11:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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