Fail Over Server Email Question

phinsup

Active Member
Jun 25, 2003
35
0
156
OK guys I am hoping someone here can give me some help. I have two cpanel servers, I am setting the second to act as a failover server. Basically I have ns1 point to the primary server and ns2 point to the backup server. I've tested and everything works, however I'm not sure what to do about email.

When the primary is down, will mail forward to the backup server? If so when it comes back up assuming there is mail on the backup, it could be an issue as people checking their mail would be checking the primary and mail is still sitting on the secondary. Any way to sync them?

Thanks!
 

Rick C

Member
Aug 19, 2007
8
0
51
Hi there,
I am looking to do this, how do you replicate the data between the two servers?
E.g if a user updates a website on one server how does the other server get th update?
Thanks
Rick
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
You may need to configure secondary mail server so that if primary mail server goes down or not responding, mails would be sent to secondary server.

Make sure to set them with different priorities in DNS zone.

@Rick: you can use rsync method to synchronize the data between live server and backup server. You would need to add a cron using rsync to synchronize the contents automatically.