LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-13-2006, 09:09 AM   #1
novis
Member
 
Registered: May 2006
Posts: 59

Rep: Reputation: 15
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
 
Old 09-13-2006, 09:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 09-13-2006, 10:09 AM   #3
novis
Member
 
Registered: May 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Well, i can put this secondary server in two offices, not problem this, but i want to know how to make this...

Thanks
 
Old 09-13-2006, 02:14 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
Old 09-13-2006, 07:21 PM   #5
generic_user
Member
 
Registered: Sep 2006
Location: San Francisco, Ca.
Distribution: Redhat/Fedora/CentOS
Posts: 39

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux server as a secondary server in windows envoirement tulip4heaven Linux - Networking 1 03-28-2006 04:34 PM
I need to be Secondary Name Server dizzaniix Linux - Networking 1 09-13-2005 03:36 PM
secondary DNS server freelinuxcpp Linux - Networking 2 07-31-2004 04:31 AM
i have a secondary dns server dexter_modem Linux - Networking 2 05-02-2003 11:46 AM
Primary and Secondary mail servers xanthium Linux - Networking 1 11-23-2001 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration