Solved

editing MX dns records

Posted on 2003-12-09
2
327 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
What You Need to Know when Searching for a Webhost Provider
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

680 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