LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2006, 11:09 AM   #1
britsky
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Question Making a backup e-mail server - need help with re-delivery


Here's the situation:

Server 1 = Main server
Server 2 = Backup server

1. Whenever Server 1 is down, all incoming & outgoing e-mail traffic will go to Server 2 by setting MX records on the DNS server.

2. When Server 2 receives incoming mail, it will deliver them to appropriate POP3 mailboxes. This will enable our users to still get their e-mail while Server 1 is down. (All the e-mail backup providers I've looked at keep them in some holding area until Server 1 is up and running again).

3. Server 2 needs to periodically check if Server 1 is up. If it is, then it needs to send any e-mails that are in the POP3 mailboxes to Server 1.

I've got #1 and #2 taken care of. The hang up is writing a cron job to perform #3.

Does anyone know how to do step 3? How about a "how-to" website? Actually, I'd really like to find software that does it; any recommendations?

Thanks in advance!
-Jeff
 
Old 04-25-2006, 11:55 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Heres a start if you happen to be using postfix.. but since you didn't specify all I can do is speculate..

http://www.postfix.org/ADDRESS_CLASS...y_domain_class

I don't think a backup mail server typiclaly delivers to mailboxes.. it holds everything in a queue to be forwarded to the final delivery destination when it comes back up.

Most mail clients don't have provisions for multiple servers for a single email address.. I suppose you could configure thunderbird for multiple mail accounts with a single storage location and it would check both servers and download mail from both servers.. the users wouldn't really be able to tell the difference..
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup on mail server nic2 Linux - Enterprise 5 01-25-2006 03:16 PM
Backup Mail Server inversecow Linux - Networking 1 01-04-2006 02:30 PM
Intranet mail delivery with linux server? PAB Linux - Software 5 04-27-2005 04:38 PM
backup mail server ziggie216 Linux - General 1 12-28-2003 08:43 PM
sendmail and backup mail server gsimpson Linux - Software 6 07-11-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:22 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