Solved

Debian Email Backup Server

Posted on 2012-03-28
8
774 Views
Last Modified: 2012-04-15
We have an Exchange 2010 server as our primary mail server.  We want to put in a backup email server in case our Exchange server goes down.  I've set up IMAP servers before with Debian, so I was thinking about setting one up.  The idea would be to hold all the emails destined for the Exchange 2010 server on the Debian server while the Exchange 2010 server is down.  However, when the Exchange 2010 server comes back up, the Debian server would send all those emails it had been queuing up to the Exchange server for delivery.

Not quite sure how to set the Debian server up like that.  Any suggestions?
0
Comment
Question by:sedberg1
  • 3
  • 2
  • 2
8 Comments
 
LVL 21

Accepted Solution

by:
Papertrip earned 500 total points
ID: 37779811
What you are trying to accomplish is pretty straight forward and very common.

Here are some instructions on how to do it using Postfix

http://www.howtoforge.com/postfix_backup_mx
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup

The inherent problem with backup MX's is that they are regularly targeted by spammers since they assume the backup will not have as stringent anti-spam policies in place as the primary.  Make sure you implement ample anti-spam/spoofing techniques on your backup MX.

Keep in mind also that senders will queue and periodically retry sending of mails when the receiving MX is unreachable.  If you don't need to access all queued mails immediately once the primary is back online, then a backup MX just might be unnecessary -- all depends on your needs and environment.
0
 
LVL 77

Expert Comment

by:arnold
ID: 37779831
It is a fairly straight forward. 1, you need to have two public IPs.
Pointing each ip to each server.
Depending on the email server you pick the configuration is to accept emails for the domain, while not treating the domain as either local nor virtual. Within the transport section, the Debian mailserver will point to the exchange as the destination.  Some mail servers have tern capabilities such that when exchange comes backup it could issue an tern to the Debian server to transmit the emails now rather than waiting while the Debian server's queue is being processed.
0
 

Author Comment

by:sedberg1
ID: 37779851
Papertrip, that first link is AWESOME!!!!

Quick question, if MX1 becomes available again, according to the article, MX2 will keep attempting to push the queued up emails to MX1 but doesn't say how often.  Is there a way to manually push the emails from the queue on MX2 so I don't have to wait?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 21

Expert Comment

by:Papertrip
ID: 37779882
Absolutely, just issue postqueue -f on the backup.

There is also the SMTP ETRN command which arnold mentioned, either will work just fine.

http://www.postfix.org/postqueue.1.html
http://www.postfix.org/flush.8.html
http://www.postfix.org/ETRN_README.html
0
 
LVL 77

Expert Comment

by:arnold
ID: 37780053
Etrn, and the various options that were previously used by the primary to connect to the secondary and trigger the immediate transmission of the email queue are not available by Discussion
http://www.google.com/search?q=exchange+2010+etrn

Given that the email has already been delayed by the outage of the primary, what is the issue that once it has recovered why demand the immediate transmission which might pound the server and lead to once gain it becoming non responsive.
0
 

Author Comment

by:sedberg1
ID: 37848276
My mistake about not awarding points to the correct post.  I should have awarded the points to this post:

"What you are trying to accomplish is pretty straight forward and very common.
Here are some instructions on how to do it using Postfix

http://www.howtoforge.com/postfix_backup_mx
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup

The inherent problem with backup MX's is that they are regularly targeted by spammers since they assume the backup will not have as stringent anti-spam policies in place as the primary."
0
 
LVL 77

Expert Comment

by:arnold
ID: 37848338
Post a question in community support to reopen this question so that you can make the corrections.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now