LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Secondary mail server (https://www.linuxquestions.org/questions/linux-server-73/secondary-mail-server-483091/)

novis 09-13-2006 09:09 AM

Secondary mail server
 
Hi!

Well, I have a mail server at my office, sometimes the phone line or the server crashes and mails doesn't come...
We have 2 routers adsl with 2 phone lines. Now, we want to make (if it is posible) a secondary mail server, with gateway the second router, and pointing this address mx20. Then, when the line1 crashes or server1 crashes, the secondary server will catch mails, and when it detects the server1 is up, transfer the mails to this server.

there are something that do it? or a sendmail command...?

Thanks

unSpawn 09-13-2006 09:51 AM

If you *really* want to have a better chance against disruptions you would not keep the second MX in-house but colo it some place else.

novis 09-13-2006 10:09 AM

Well, i can put this secondary server in two offices, not problem this, but i want to know how to make this...

Thanks

ramram29 09-13-2006 02:14 PM

You can do it with postfix and DNS. It can take a long time to explain all this so you may want to pick up a good postfix book; or go through the documentation at http://www.postfix.org. The trick is in the relayhost defenition in /etc/postfix/main.cf.

generic_user 09-13-2006 07:21 PM

Quote:

Originally Posted by novis
Hi!

Well, I have a mail server at my office, sometimes the phone line or the server crashes and mails doesn't come...
We have 2 routers adsl with 2 phone lines. Now, we want to make (if it is posible) a secondary mail server, with gateway the second router, and pointing this address mx20. Then, when the line1 crashes or server1 crashes, the secondary server will catch mails, and when it detects the server1 is up, transfer the mails to this server.

there are something that do it? or a sendmail command...?

Thanks

Just wanted to FYI that most (all?) smtp servers out there will retry sending email to your server for DAYS... so as long as you get that server reconnected, you'll get any e-mails that might have been missed the first time.


All times are GMT -5. The time now is 07:21 AM.