Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm have my DNS server set like this:

mail    A   xxx.xxx.xxx.xxx
mail    MX  10

because I want to redirect all mail traffic on server xxx.xxx.xxx.xxx but it does not forward my emails to this address..

Is there anything else I should do to make it happen? Any help appriciated...

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Make sure you have your DNS entries propagated correctly via tools like

dig yourdomain.tld MX

if you are in unix/linux world

or

nslookup

tool if you are in windows world

From your question, it seems it might only be the DNS propagation delay.

Is there any mailserver located at xxx.xxx.xxx.xxx ( your MX ip) ?

share|improve this answer
    
It looks good on dig, so it's probably destination mail server fault, thanks for help.. –  ŁukaszW.pl Feb 7 '12 at 11:00
1  
please repeat after me - DNS does not have a propagation delay! –  Alnitak Feb 7 '12 at 11:27
add comment

mx resource records don't require that the questioner know the answer already.

For an mx resource record to work for mail.example.com., the questioner would have to already know that mail.example.com. was the target. Clearly, that's nonsense.

When mail is addressed to postmaster@example.com, the domain name looked up is the one in the mailbox name, example.com.. That is the domain name which must own the mx resource records (if any). These resource records form the first halves of two-part mappings from the mailbox domain name to sets of IP addresses:

example.com. IN MX 10 a.mx.example.com.
example.com. IN MX 20 b.mx.example.com.
a.mx.example.com. IN A 10.25.0.1
a.mx.example.com. IN A 10.25.0.2
b.mx.example.com. IN A 10.25.1.1
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.