Solved

editing MX dns records

Posted on 2003-12-09
2
326 Views
Last Modified: 2010-04-20

There are three ip addresses on my server.  A spamfilter I have 'listens' on one of them.  I need to edit the dns configuration (on my hosting companies dns - which can be edited through the member area) so that mail from a domain on a different ip address goes through the ip with the spam filter.

Right now, the MX records look like:

mail.sampledomain.com.   (MX)  10 mail.theknotlongdistance.com.
sampledomain.com.          (MX)  10 mail.theknotlongdistance.com.

mail.sampledomain.com  (A)  with a numeric ip address

-------------------

I found that I could change that third one (enter the spamfilter's ip) and send mail to user@mail.sampledomain.com and it will go through the spamfilter just fine.

However, mail sent to user@sampledomain.com does not get routed through the spamfilter.

So...... can I simple change the MX records (10 mail.theknotlongdistance.com.) to the ip address I want mail routed through?

What does the '10' do, and should I include that?

Thanks,

Chris
0
Comment
Question by:ChrisAndrews
2 Comments
 
LVL 17

Accepted Solution

by:
Tacobell777 earned 50 total points
ID: 9909381
The number is the order in which to use the mailserver, i.e. one preference over the other.
If 10 cannot be reached use 20 etc. etc.

Example

mail.sampledomain.com   MX  10 mail1.theknotlongdistance.com
mail.sampledomain.com          MX  20 mail2.theknotlongdistance.com
mail.sampledomain.com          MX  30 mail3.theknotlongdistance.com

Hope that helps.
0
 

Author Comment

by:ChrisAndrews
ID: 9909421

That helps, I will give this a try, thanks :)

Chris
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 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