Tim Legg wrote:
Hello,

Now that I have my local mail set up, I can let my domain name come up
from hiding.

When I run:

# hostname -f
genex.timothylegg.com

and

# dig timothylegg.com MX

;; QUESTION SECTION:
;timothylegg.com.               IN      MX

;; ANSWER SECTION:
timothylegg.com.        9220    IN      MX      10 mail.timothylegg.com.


My hostname is genex.timothylegg.com on my machine and my MX record points
to mail.timothylegg.com

I was wondering if the MX record should point to the same name as my
hostname.  Obviously, this isn't too big of a problem, since my mail works
after all.  I don't know if this something that I should have corrected or
if is it standard as it is?

There's no 'A' record for genex.timothylegg.com, but I'm assuming it's the same machine as mail.timothylegg.com. If so, that's not unusual; just make sure the machine can resolve its own hostname via /etc/hosts or whatever.

You will probably want to override the default in Postfix, though. Just set,

  myhostname = mail.timothylegg.com

in main.cf. Many mail servers will check to make sure your hostname exists in DNS, and unless you override the default (genex), it won't.

Unless you have other plans, I would make the reverse DNS point to mail.timothylegg.com as well. There's nothing wrong with the current record, but it "looks" dynamic, and you could be penalized for that.

$ dig -x 67.104.200.131

;; ANSWER SECTION:
131.200.104.67.in-addr.arpa. 10330 IN  PTR 67.104.200.131.ptr.us.xo.net.

Reply via email to