LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   backup email server (https://www.linuxquestions.org/questions/debian-26/backup-email-server-4175535624/)

binary_dreamer 03-03-2015 07:43 AM

backup email server
 
hi. i do have an email server for my domain (eg.binary.com) the IP of the server is eg 1.1.1.1. the system works fine and it has the following entry in the DNS
mail.binary.com priority 10

the webmail is on webmail.binary.com and all clients have the mail.binary.com to send/receive mails.

i did setup a backup machine for redundancy. the machine is on IP eg 2.2.2.2 and it is mail2.binary.com priority 20. when the first machine goes does then mail2 receives all the emails, until the mail.binary.com comes back again. when it comes alive then the mail2 pushes all the emails to the mail.binary.com. that works.

the problem is with the clients that they have the mail.binary.com and not the mail2. the same problem is with the webmail.


is there a way to have a solution to this problem?
the servers do run debian wheezy with postfix.

linosaurusroot 03-04-2015 10:52 AM

It seems your webmail requires delivery at mail.binary.com. While that host is down you get no deliveries (as expected) so no new webmail. I gather normal service resumes soon after mail.binary.com restarts.

If you are aiming for a redundant cluster of mailservers so that operation continues regardless of the failure of a single server here are some links.

http://www.7layer.org/?p=313
http://serverfault.com/questions/303...postfix-system
http://www.linuxquestions.org/questi...l-over-586508/


All times are GMT -5. The time now is 04:14 AM.