?
Solved

DNS and MX Records

Posted on 2010-09-20
7
Medium Priority
?
434 Views
Last Modified: 2012-06-27
I have an email server the hosts the domain x.com
My spam filter is at server1.spamfilter.com

What should my DNS/MX records look like for mail to go to my spam filter?
MX records, Cnames, A Records etc.
0
Comment
Question by:ie0
7 Comments
 
LVL 1

Expert Comment

by:hw9664
ID: 33721654
Your MX record should have the IP Address of your spam filtering service.
Your spam filtering service should then forward all emails that pass its spam filters to your email server.
Don't forget to allow SMTP port 25 thru your firewall to your mail server from the spam filtering service.
0
 
LVL 2

Expert Comment

by:HFVgally
ID: 33721666
Your only MX record(s) should be server1.spamfilter.com, server2.spamfilter.com, etc. The spam filter service needs to be configured to know what the public IP address is of your mail server. You don't want any MX records pointing directly to your mail server address any more, or messages may bypass the spam filter.
You could set a lower priority MX record and point it to your mail server address, but that won't work once you get to the step where you set your firewall to ONLY accept incoming SMTP messages from your spamfilter service's servers. You will want to restrict your incoming SMTP eventually to prevent spammers from handshaking to your mail server directly and again bypass your spamfilter service.
 
0
 

Author Comment

by:ie0
ID: 33721802
HFV,
So my MX record will be pointing to server1.spamfilter.com
Any Arecords or CNames etc?
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
LVL 9

Accepted Solution

by:
Aeriden earned 600 total points
ID: 33721816
I recommend not having any A records on your root domain (e.g. x.com -- because some older mail servers use this to resolve first rather than the MX).  But in theory, you just need to worry about the MX record.
0
 
LVL 2

Assisted Solution

by:HFVgally
HFVgally earned 1400 total points
ID: 33722273
Because you are using the domain name provided by the spam filtering service (their domain name) as your MX record, matters of A records and CNames are up to them to administer. The spam filtering services I am familiar with want to know your mail server's destination IP address so no other records are required for your domain.
If you are using remote access services such as with a Small Business Server, you might have a host record or alias that resolves a subdomain such as remote.x.com to your mail server IP address (the mail server and the remote access server being one in the same in that case), but this should not be referenced by your MX records nor will the spam filtering service need it.
The only DNS record you need are the MX records pointing to their servers.
0
 
LVL 2

Expert Comment

by:HFVgally
ID: 33722276
Clarification Edit: the only DNS records you need for the purpose of routing mail are the MX records pointing to the spam filtering service servers.
0
 

Author Closing Comment

by:ie0
ID: 33747350
Fixed.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

After a recent Outlook migration from a 2007 to 2010 environment, some issues with Distribution List owners were realized. In this article, I explain how that was rectified.
This article explains how to move an Exchange 2013/2016 mailbox database and logs to a different drive.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

607 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