Solved

DNS and MX Records

Posted on 2010-09-20
7
424 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 9

Accepted Solution

by:
Aeriden earned 150 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 350 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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 …
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

757 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

22 Experts available now in Live!

Get 1:1 Help Now