troubleshooting Question

qmail as bakup mx server

Avatar of egarciat
egarciat asked on
4 Comments1 Solution287 ViewsLast Modified:
Hi, I have a dynamically allocated IP address with my ADSL provider, I have setup a server with a dynamic DNS. I have setup qmail in this server and my DNS MX records allways point to the dynamic IP addres. It works fine, with no problemas at all.

however, some times it's necesary to take down this server, in order to do some maintenance tasks, or perhaps due to energy problems.

I would like to know, if there is a way to setup another server with static IP and 99.9% uptime, as a backup server for the first one.

I would set MX records for both with preference 10 for the dynamic and preference 20 for the static. (the dyndns engine would only update the 10 MX record and leave the 20 MX record alone with static IP)

I want that in case of a failure in the dynamic server. All mail for that domain, be sent to the static one, AND that when the dynamic goes up, all stored mail in the static be forwarded to the dynamic one, without user intervention.

I DO have way to inform the static server , and run a shell script when the dynamic server goes UP.

Is that possible?...


Thanks in advance
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros