Solved

editing MX dns records

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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