Internally hosted mail server with anti spam firewall

This is probably pretty basic stuff, but I wanted to be sure I'm doing this correctly.

I have SBS 2011 with exchange 2010.  I also have a barracuda anti-spam firewall, what I need to do is be sure that I have the public DNS/MX records setup correctly.  Plus the firewall and the Barracuda.  I would like to have my public presence look like, have the mail hit the barracuda first then have the barracuda send the mail to the exchange server.  

I'm using ZoneEdit to manage my DNS, they also provide my backup MX in case we are down.  What should I add in the dns records here?  What is the proper configuration of the firewall.  

Thanks very much.
Who is Participating?
SteveConnect With a Mentor Commented:
External dns:

Set up an 'a' record pointing to your public ip address.


Also set an mx record pointing to the a record and assign it a value/cost/priority

Eg mx  5

The only things you need adding to the firewall for mail is port 2 (smtp) 5 & 443 (webmail/https) to forward to the barracudas internal ip.
Also ensure outgoing port 25 is open for the server and/barracuda as required.
Edit: port 443 should point to the exchange box, not the barracuda!
mcioffi209Author Commented:
just what I needed.  Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.