We help IT Professionals succeed at work.

Configuring exchange \ Server for backup smtp server

robbie_62 asked
Last Modified: 2012-06-21
Hi Guys

We have an sbs 2003 server here with exchange running our email for our domain,

We have 2 internet connections as the service is unreliable,both have seperate static ip's and are from different providers.

I have an mx record created for connection 1 (mail.company.com) and this is used to receive all our email,
This connection is connected to a firewall which is used then as the gateway on the server so we can receive our emails.

Our hosting company has created an MX record for Connection 2 as mail1.company.com
They have also setup a backup smtp service so that when mail.company.com is unavailable,the backup smtp server will collect all mail and forward it to mail1.company.com (Connection 2)

Is it possible to configure the server to collect mail from both gateways ??

This way,if Connection1 (mail.company.com) goes down,then mail will be forwarded through to Connection2 (mail1.company.com) and will be delivered to exchange automatically without having to change gateways or anything on the server every time it happens

Watch Question

Robin HumanHead of Network Services

You could try setting up a second SMTP virtual server for the second incoming
Robin HumanHead of Network Services

..oops - sorry
second incoming line on the exchange system

if i am reading this correct you can just do this

create 2 mxrecords for you domain.com email domain
domain.com    MX preference = 10, mail exchanger = mail.domain.com
domain.com    MX preference = 10, mail exchanger = mail1.domain.com

you can change the weight if you like but an equal will randomly select.

point mail1.domain.com to 1 external ip address of the smtp gateway
point mail.domain.com to the other ip address of the smtp gateway

set the gateway as the internal ip address or dns name of the exchange server.

now mail from any one of those IP/dns names will be queued on the SMTP gateway.
This one is on us!
(Get your first solution completely free - no credit card required)


Hi Bertling

Do u mean go into tcp\ip properties on the server and change the gateway to its own internal ip address ?
Just tried that now but I could no longer access the internet on the server,



no dont change any thing on the actaul exchange server.

in a nut shell do you just want this to happen:

if isp1 or isp2 fail, mail will still be delivered to the excahnge server using the the IP address of the ISP which is still live?


Hi sstone55423:

Just reading through your message and I think I can see where your going with this,
Then you mentioned the Sonicwall,I happen to have abrand new sonicwall TZ180 Sitting on my desk waiting to be configured !!!

Ill have a look over the weekend and see if this will do what I need it to,Im assuming this will allow me to configure 2 different static Ip address' ?

Thanks for the Info



Hi Bertling,

Yes thats exactly it,as our connections are unreliable,I need exchange to send \ receive mail either using the primary connection or else the secondary one,if the main one fails,

sstone55423 suggested the sonicwall which I am going to investigate

Thanks Guys


great look at my post where it says how to setup your mx records.

and sstone is correct in the sonicwall theory using the 2 connections. we use sonicwalls here and i have set this up with 2 connectins and it works very well!

get both conections load balanced first then let us know and we can try to get mail to work with both IP addresses.
Robbie -- Wow!  Well, make sure that you have the Enhaced OS, it is necessary for the fault tolerance.  You can buy it for extra at the mysonicwall.com site when you register your TZ180.  I can help you set that up to if you run into issues.
Following Bertlings track:
domain.com    MX preference = 10, mail exchanger = mail.domain.com
domain.com    MX preference = 20, mail exchanger = mail1.domain.com
domain.com MX pre = 30, mail exchanger = myispsmtp.myisp.com
So that it fails to the ISP, and can be collected later if BOTH connections are down, (or server is down for awhile).  You will have to work that service out with your hoster/ISP first, and put in the proper server domain name.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.