• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 522
  • Last Modified:

Internally hosted mail server with anti spam firewall

Hi,
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 mail.MYDomain.com, have the mail hit the barracuda first then have the barracuda send the mail to the exchange server.  

So.....
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.
0
mcioffi209
Asked:
mcioffi209
  • 2
1 Solution
 
SteveCommented:
External dns:

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

Eg mail.company.com 91.234.12.32

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

Eg mx mail.company.com  5

Firewall:
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.
0
 
SteveCommented:
Edit: port 443 should point to the exchange box, not the barracuda!
0
 
mcioffi209Author Commented:
just what I needed.  Thank you.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now