Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mail Server Fallback?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Thu Oct 12, 2006 3:52 pm    Post subject: Mail Server Fallback? Reply with quote

I manage three different servers for my employer.
All our servers are hosted via a dedicated hosting provider.

The other day they had a power outage and a whole bunch of servers (including ours) were down. One of the servers I manage is a mail server for our clients, which hosts quite a number of domains. That kinda got me thinking.

Is there a way to make a backup mail server?

So basically, if our mail server goes down for whatever reason, the mails should get processed by a backup server.
Question is, what happens when the primary mail server comes back online again, are the users able to retrieve the emails which were sent to the secondary server?

Anybody know of a good howto on how to accomplish something like that?
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Thu Oct 12, 2006 4:23 pm    Post subject: Reply with quote

You can do it with DNS MX records. The problem is sync'ing the servers so when one comes back online the transition is seamless. Search for redundant mailservers.

Possible Solutions:
A rsync'd backend where the mailboxes are stored.
DBmail, all mail is stored in a mysql database. Setup database replication. No filesystem sync to worry about.

Good luck.
Back to top
View user's profile Send private message
flashedcoder
n00b
n00b


Joined: 12 Oct 2006
Posts: 3

PostPosted: Thu Oct 12, 2006 4:41 pm    Post subject: Reply with quote

:(
_________________
My Fav Websites :
MoviesInsight.com - all about movies | MyWallpaperz.com - gaming wallpapers
GadgetInsight.com - Gadgets
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Oct 13, 2006 8:00 am    Post subject: Reply with quote

For short outages don't bother. SMTP protocol means the other mail servers will try again later and hold it in their queue meanwhile.

If you are going to do backup MX are you planning to point your users to the new server to collect email too? If not then just set up a conventional backup MX and the server will hold the email until your main is back online. Then it'll send it over.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum