I finally got postfix up and running for the first time, and want to make sure all things are correct before I 'test' it out, so I can assume unworldly powers stopped it from working and not me.
Assume my FQDN is me.mysite.com, should my MX record point there or to mysite.com?
Firstly - your
MX
record MUST point to hostname that itself points to anA
and/orAAAA
record. AnMX
record cannot directly contain an IP address nor can it point to aCNAME
record.Secondly, ideally it should point to whatever your
HELO
name of the server is, but if they're not going to match nomatter what, then it doesn't matter where it points to, just as long as theA
record resolves to the correct IP address.You can verify your MX is set up correctly by using nslookup (windows) or dig (linux). On nslookup you would do this:
If you see your correct IP address on that last line, then your MX is working correctly.