Mail Server Issue

Discussion in 'Mac OS X Server, Xserve, and Networking' started by starfish, Oct 12, 2010.

  1. starfish macrumors newbie

    Joined:
    Nov 17, 2004
    Location:
    Sussex
    #1
    Hi,

    I've been setting up snow leopard server to host my website, ical, address book and email. The server has a static public IP and the domain is setup with 123 reg as the following:

    A Record: @ - public static IP (e.g. 80.11.46.55)
    A Record: mail - public static IP
    A Record: www - public static IP

    MX Record: mail.domainname.com. (incl. full stop) - Priority 10


    The website works no problem, the server page is accessible at http://www.domainname.com:85 and E-mails can send out from the server but they are only received when sent in the following format:

    mailbox@servername.domainname.com

    I want it to receive as mailbox@domainname.com

    I'm guessing this is an DNS/MX record issue but I'm stuck! Not sure if the problem lies at the 123 reg stage or on the server.

    I have forwarded the ports for Web, IMAP, POP and SMTP on my router to the server's internal IP (192.168.1.50)

    Can anyone offer assistance please?

    Thanks in advance,

    Mike
     
  2. jerry333 macrumors member

    jerry333

    Joined:
    Nov 4, 2005
    #2
    you need MX records in addition to A records:
    domain.com. IN MX 5 mail.domain.com.
    domain.com. IN MX 10 mail2.domain.com.

    You can test by substituting your domain for macrumors.com

    $ dig -t MX macrumors.com

    ; <<>> DiG 9.6.0-APPLE-P2 <<>> -t MX macrumors.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45998
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 0

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

    ;; ANSWER SECTION:
    macrumors.com. 720 IN MX 30 macrumors-com.relay1c.spamh.com.
    macrumors.com. 720 IN MX 10 macrumors-com.relay1a.spamh.com.
    macrumors.com. 720 IN MX 20 macrumors-com.relay1b.spamh.com.

    ;; AUTHORITY SECTION:
    macrumors.com. 3177 IN NS ns2.tecknohost.com.
    macrumors.com. 3177 IN NS d3.tecknohost.com.
    macrumors.com. 3177 IN NS ns1.tecknohost.com.

    ;; Query time: 9 msec
    ;; WHEN: Tue Oct 12 16:41:42 2010
    ;; MSG SIZE rcvd: 215
     

Share This Page