editing MX dns records
Posted on 2003-12-09
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 email@example.com and it will go through the spamfilter just fine.
However, mail sent to firstname.lastname@example.org 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?