Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

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

  1. #11
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    What's the status of your set-up at the moment, you can send mail from the Zimbra server but not receive any mail - is that correct?

    Let's start from the beginning, when I was talking about your DNS records earlier I meant your public DNS records. Those records show the following output when I check them:

    Code:
    dig jbodyperformance.com mx
    
    ; <<>> DiG 9.8.1-P1 <<>> jbodyperformance.com mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19511
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;jbodyperformance.com.          IN      MX
    
    ;; ANSWER SECTION:
    jbodyperformance.com.   14400   IN      MX      10 jbodyperformance.com.
    jbodyperformance.com.   14400   IN      MX      0 zimbra.jbodyperformance.com.
    
    ;; ADDITIONAL SECTION:
    jbodyperformance.com.   14400   IN      A       74.52.139.242
    zimbra.jbodyperformance.com. 1440 IN    A       76.69.133.95
    
    ;; Query time: 150 msec
    ;; SERVER: 192.168.1.10#53(192.168.1.10)
    ;; WHEN: Sun Mar 25 08:25:07 2012
    ;; MSG SIZE  rcvd: 109
    Are you really sure that your router is forwarding port 25 to your LAN IP address? When I telnet to the IP of your Zimbra server I don't get a connection as show here:

    Code:
    telnet 76.69.133.95 25
    Trying 76.69.133.95...
    telnet: connect to address 76.69.133.95: Connection timed out
    When I telnet to your domain name I get the following:

    Code:
    telnet jbodyperformance.com 25
    Trying 74.52.139.242...
    Connected to jbodyperformance.com.
    Escape character is '^]'.
    220-very.prettyoblivion.com ESMTP Exim 4.69 #1 Sun, 25 Mar 2012 02:32:29 -0400 
    220-We do not authorize the use of this system to transport unsolicited, 
    220 and/or bulk e-mail.
    That's an exim mail server not Zimbra and it's the other mail server (lower priority) in your MX records - that would make sense as the Zimbra server is unreachable.

    We should also check that your DNS configuration on your LAN is correct. Go to the Split DNS article and run all the commands in the 'Verify....' section and post the output in this thread. You should use the domain name the primary domain you've configured on the Zimbra server, for example:

    Code:
    dig jbodyperformance.com mx
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #12
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    What's the status of your set-up at the moment, you can send mail from the Zimbra server but not receive any mail - is that correct?
    Right now it can't send/receive internet email. Local mail works fine.

    Quote Originally Posted by phoenix View Post
    Are you really sure that your router is forwarding port 25 to your LAN IP address? When I telnet to the IP of your Zimbra server I don't get a connection as show here:
    Yup, definitely an issue here. I was telnetting just fine, but this was because I was internally attemping and it sucessfully connected because I never went from the outside > in.

    After trying from the outside I get this:
    Code:
    C:\Users\Administrator>telnet 76.69.126.216 25
    Connecting To 76.69.126.216...Could not open connection to the host, on port 25:
     Connect failed
    NB: Should be noted that my WAN IP is now what is listed above. (76.69.126.216)

    Oddly enough, every other port is being fwd'd properly. Try: https://zimbra.jbodyperformance.com:8085

    I'm thinking its something on the zimbra box itself. Maybe the firewall on Ubuntu is blocking port 25 ??? I'm a linux novice, so checking this out is gonna require some serious google time.

    Quote Originally Posted by phoenix View Post
    We should also check that your DNS configuration on your LAN is correct. Go to the Split DNS article and run all the commands in the 'Verify....' section and post the output in this thread.
    Here you are sir:


    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: 29303
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;jbodyperformance.com.          IN      MX
    
    ;; ANSWER SECTION:
    jbodyperformance.com.   13149   IN      MX      0 zimbra.jbodyperformance.com.
    
    ;; Query time: 23 msec
    ;; SERVER: 10.0.2.2#53(10.0.2.2)
    ;; WHEN: Sun Mar 25 23:56:15 2012
    ;; MSG SIZE  rcvd: 61
    
    jbody@zimbra:~$
    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: 60869
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;jbodyperformance.com.          IN      ANY
    
    ;; ANSWER SECTION:
    jbodyperformance.com.   13111   IN      MX      0 zimbra.jbodyperformance.com.
    jbodyperformance.com.   85111   IN      NS      ns2.prettyoblivion.com.
    jbodyperformance.com.   85111   IN      NS      ns1.prettyoblivion.com.
    
    ;; Query time: 14 msec
    ;; SERVER: 10.0.2.2#53(10.0.2.2)
    ;; WHEN: Sun Mar 25 23:56:52 2012
    ;; MSG SIZE  rcvd: 112
    Code:
    jbody@zimbra:~$ host $(hostname)
    Host zimbra not found: 2(SERVFAIL)
    Code:
    jbody@zimbra:~$ cat /etc/resolv.conf
    nameserver 10.0.2.2
    Code:
    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

  3. #13
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Hey Phoenix, Found out that my ISP blocks port 25...

    Can I configure to use port 587 instead???

  4. #14
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by afrojoe View Post
    Hey Phoenix, Found out that my ISP blocks port 25...

    Can I configure to use port 587 instead???
    Port 587 is only a Submission port and that means it's for mail clients to submit mail to the server. If you have no access to port 25 (in or out) then you will need to relay outbound mail through your ISPs mail server (or a professional server). For inbound mail you'd need to use a paid for server that will relay mail to a specified port on your server (you can us port 587 in these circumstances). Companies such as DynDNS have this sort of service, they are paid-for services and usually depend on the amount of mail passed through the server. There are many companies that these services and you can find them doing an internet search.

    BTW, in the DNS output above you're missing an A record that should point to your LAN IP.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #15
    Join Date
    Mar 2012
    Posts
    19
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    BTW, in the DNS output above you're missing an A record that should point to your LAN IP.
    Where should I put the A Record? And should it point to 10.0.2.7?

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, 06: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
  •