Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Can't Receive or Send External Mail - DNS Issue

  1. #1
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default Can't Receive or Send External Mail - DNS Issue

    Hello everyone.

    First off, I'm a 2 day old Zimbra junkie. I can't get enough of this email server and love the interface and simplicity of the setup.

    I believe my main issue resides in getting my DNS setup correctly. I can't wrap my head around the whole Split-DNS methodology and need help setting up my DNS A & MX records properly.

    [CODE]

    Here's my setup:

    Code:
    jbody@zimbra:~$ dig jbodyperformance.com mx
    
    ; <<>> DiG 9.7.0-P1 <<>> jbodyperformance.com mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44410
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;jbodyperformance.com.          IN      MX
    
    ;; ANSWER SECTION:
    jbodyperformance.com.   12335   IN      MX      0 zimbra.jbodyperformance.com.
    
    ;; ADDITIONAL SECTION:
    zimbra.jbodyperformance.com. 1099 IN    A       76.69.133.95
    
    ;; Query time: 13 msec
    ;; SERVER: 10.0.2.2#53(10.0.2.2)
    ;; WHEN: Fri Mar 23 11:41:45 2012
    ;; MSG SIZE  rcvd: 77
    Code:
    jbody@zimbra:~$ dig jbodyperformance.com any
    
    ; <<>> DiG 9.7.0-P1 <<>> jbodyperformance.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16466
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;jbodyperformance.com.          IN      ANY
    
    ;; ANSWER SECTION:
    jbodyperformance.com.   12246   IN      MX      0 zimbra.jbodyperformance.com.
    jbodyperformance.com.   12162   IN      A       74.52.139.242
    jbodyperformance.com.   84162   IN      NS      ns2.prettyoblivion.com.
    jbodyperformance.com.   84162   IN      NS      ns1.prettyoblivion.com.
    
    ;; Query time: 15 msec
    ;; SERVER: 10.0.2.2#53(10.0.2.2)
    ;; WHEN: Fri Mar 23 11:43:14 2012
    ;; MSG SIZE  rcvd: 128
    Code:
    jbody@zimbra:~$ host $(hostname)
    Host zimbra not found: 2(SERVFAIL)
    Code:
    jbody@zimbra:~$ host $(hostname)
    Host zimbra not found: 2(SERVFAIL)
    Code:
    jbody@zimbra:~$ cat /etc/resolv.conf
    nameserver 10.0.2.2
    jbody@zimbra:~$ cat /etc/hosts
    127.0.0.1       localhost.localdomain localhost
    10.0.2.7        zimbra.kayna.grp        zimbra
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    My LAN DNS server is a Windows box. It has the following configuration:

    A RECORD
    HOST: ZIMBRA
    FQDN: ZIMBRA.KAYNA.GRP
    IP: 10.0.2.7

    PTR RECORD
    IP: 10.0.2.7
    FQDN: 7.2.0.10.in-addr.arpa
    HOST: ZIMBRA.KAYNA.GRP


    Can anyone help please?

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by afrojoe View Post
    I believe my main issue resides in getting my DNS setup correctly. I can't wrap my head around the whole Split-DNS methodology and need help setting up my DNS A & MX records properly.
    Details of the DNS requirements are all over the forums and in the Split DNS article (including the requirements for the resolv.conf and /etc/hosts file), have you read the description of what's needed?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    Details of the DNS requirements are all over the forums and in the Split DNS article (including the requirements for the resolv.conf and /etc/hosts file), have you read the description of what's needed?
    Hi Phoenix,

    Yes, I have read and re-read the split DNS article, (which is why I indicated it in my original post). The only problem is that it isn't really sinking in clearly the direction I should go forth from here.

    Can you please steer me in the right direction and assist me?

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by afrojoe View Post
    Yes, I have read and re-read the split DNS article, (which is why I indicated it in my original post).
    You didn't actually say that you'd read that article.

    The only problem is that it isn't really sinking in clearly the direction I should go forth from here.[/QUOTE]The article does give you a complete description of what's necessary and it's covered several time including running the command in the 'Verify..' section of that article including the expected output of those commands.

    Quote Originally Posted by afrojoe View Post
    Can you please steer me in the right direction and assist me?
    Let me quote a section of the wiki article that should point you to the problem:

    .....LAN then any functioning DNS server that provides a LAN IP response..... for the DNS MX lookup of the Zimbra server will do
    Your output doesn't show the expected LAN IP address, does that answer your question?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    Your output doesn't show the expected LAN IP address, does that answer your question?
    I think so. I guess what your indicating is that my Windows DNS has to hand out a response that is my public MX IP ?

    EDIT: Rather, my Windows DNS has to hand out the proper LAN IP of my zimbra server, which is (10.0.2.7) ?
    Last edited by afrojoe; 03-23-2012 at 01:46 PM.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by afrojoe View Post
    EDIT: Rather, my Windows DNS has to hand out the proper LAN IP of my zimbra server, which is (10.0.2.7) ?
    That's correct.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    That's correct.
    Awesome, thanks for not giving me the answer directly but letting me think! It really lets ppl be self-sufficient!

  8. #8
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by afrojoe View Post
    Awesome, thanks for not giving me the answer directly but letting me think! It really lets ppl be self-sufficient!
    UPDATE: Spoke to soon! lol.. I still can't get mail to flow. Apparently, updating the DNS on the windows box didnt' work.

    Here's a bounce back I got on a test email from hotmail to zimbra:

    Code:
    This is an automatically generated Delivery Status Notification.
    
    Delivery to the following recipients failed.
    
           mev@jbodyperformance.com
    Code:
    Reporting-MTA: dns;snt0-omc1-s13.snt0.hotmail.com
    Received-From-MTA: dns;SNT140-DS9
    Arrival-Date: Fri, 23 Mar 2012 20:29:51 -0700
    
    Final-Recipient: rfc822;mev@jbodyperformance.com
    Action: failed
    Status: 5.5.0
    Diagnostic-Code: smtp;550-snt0-omc1-s13.snt0.hotmail.com [65.55.90.24] is currently not permitted to
    550-relay through this server. Perhaps you have not logged into the pop/imap
    550-server in the last 30 minutes or do not have SMTP Authentication turned on
    550 in your email client.

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    If that's your real domain name in the error message then it looks like you have two mail servers with different IP addresses, is that correct? If it's correct then the mail server with a priority of 10 has it's DNS records configured incorrectly. What exactly are you trying to achieve in this configuration?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    afrojoe is offline Intermediate Member
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    I should have only have one mail server. I delete the other MX record. (jbodyperformance.com) when testing. I realized this after you pointed me in the right direction that the domain name itself needs the MX record applied to it. (ie: zimbra.jbodyperformance.com holds the sole MX record and its IP is 76.69.133.95)

    (The zimbra.jbodyperformance.com MX record is the only one that exists and the jbodyperformance.com MX record is deleted during testing and restored until I can figure this out)

    Phoenix, thanks for your patience and guidance in advance. I guess what I'm trying to accomplish is as follows:

    MX record zimbra.jbodyperformance.com points 76.69.133.95 (which is my WAN IP). The WAN IP (router) then fwd's all Zimbra ports to the private IP 10.0.2.7.

    My Zimbra Server has two domains on it currently. (zimbra.kayna.grp and jbodyperformance.com) When I click the 'check MX records' button within the jbodyperformance.com domain, it passes.

    My DNS server is a Windows Box. It has the following:


    A RECORD
    HOST: ZIMBRA
    FQDN: ZIMBRA.KAYNA.GRP
    IP: 10.0.2.7

    PTR RECORD
    IP: 10.0.2.7
    FQDN: 7.2.0.10.in-addr.arpa
    HOST: ZIMBRA.KAYNA.GRP


    Does this help you help me in anyway??

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Postfix issue
    By massram in forum Administrators
    Replies: 14
    Last Post: 12-29-2011, 04:54 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Help mail server broadcast spam
    By sh1n_b3 in forum Administrators
    Replies: 0
    Last Post: 01-19-2011, 07:44 PM
  4. Replies: 20
    Last Post: 03-18-2008, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •