Results 1 to 4 of 4

Thread: Unable to receive email

  1. #1
    kent05 is offline Junior Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    3

    Default [SOLVED]Unable to receive email -DNS eror

    I'm evaluating Zimbra CSA v6.0.14.406. I can send out email without error but cannot receive email. I'm not sure if I have done configured them correctly.

    Here are my configurations:

    cat /etc/hostname
    Code:
    webmail.mydomain.com.my
    cat /etc/hosts
    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.33 webmail.mydomain.com.my
    The alias after '.com.my' will missing after reboot server or restart network

    cat /etc/resolv.conf
    Code:
    nameserver 127.0.0.1
    nameserver 192.168.1.1       <-- our router ip address
    domain mydomain.com.my
    search mydomain.com.my
    host $(hostname)
    Code:
    Host webmail.mydomain.com.my not found: 3(NXDOMAIN)
    db.mydomain.com.my
    Code:
    ;mydomain.com.my
    $TTL       86400
    @          IN     SOA      webmail.mydomain.com.my. admin.mydomain.com.my.  (
                                    201109231448    ; Serial
                                    604800          ; Refresh
                                    86400           ; Retry
                                    2419200         ; Expire
                                    86400)          ; Negative Cache TTL
    ; Define the nameservers and the mail servers
    @          IN     NS            webmail
               IN     MX    10      webmail.mydomain.com.my
               IN     A             192.168.1.33
    mail       IN     A             192.168.1.33
    db.1.168.192
    Code:
    ;1.168.192
    $TTL       86400
    @          IN     SOA     webmail.mydomain.com.my.  admin.mydomain.com.my. (
                                    201109231448    ; Serial
                                    604800          ; Refresh
                                    86400           ; Retry
                                    2419200         ; Expire
                                    86400)          ; Negative Cache TTL
    ; Define the nameservers and the mail servers
                      NS            webmail.mydomain.com.my
    1                 PTR          webmail.mydomain.com.my
    named.conf.local
    Code:
    //
    // Do any local configuration here
    //
    
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    
    acl internals {                         
            127.0.0.0/8;                    
            192.168.1.0/24;                 
    };
    
    view "internal" {
            match-clients { internals; };  
            recursion yes;                 
            zone "mydomain.com.my" {
                    type master;
                    file "/etc/bind/internal/db.mydomain.com.my";
    Note: I have not yet included ' view "external" ' in this file


    nslookup webmail.mydomain.com.my
    Code:
    Server:         127.0.0.1
    Address:                 127.0.0.1#53
    
    ** server can't find webmail.mydomain.com.my: NXDOMAIN
    dig mydomain.com.my mx
    Code:
    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64337
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.my.                        IN      MX
    
    ;; ANSWER SECTION:
    mydomain.com.my.         86400   IN      MX      10 webmail.mydomain.com.my.mydomain.com.my.
    
    ;; AUTHORITY SECTION:
    mydomain.com.my.         86400   IN      NS      webmail.mydomain.com.my.
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Mar 29 09:09:51 2012
    ;; MSG SIZE  rcvd: 91
    dig mydomain.com.my any
    Code:
    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30351
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.my.                        IN      ANY
    
    ;; ANSWER SECTION:
    mydomain.com.my.         86400   IN      SOA     webmail.mydomain.com.my. admin.mydomain.com.my. 3540735832 604800 86400 2419200 86400
    mydomain.com.my.         86400   IN      NS       webmail.mydomain.com.my.
    mydomain.com.my.         86400   IN      MX      10 webmail.mydomain.com.my.mydomain.com.my.
    mydomain.com.my.         86400   IN      A         192.168.1.33
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Mar 29 09:11:39 2012
    ;; MSG SIZE  rcvd: 149
    Last edited by kent05; 03-29-2012 at 08:41 AM.

  2. #2
    VTC
    VTC is offline Senior Member
    Join Date
    Apr 2008
    Location
    Virginia
    Posts
    74
    Rep Power
    7

    Default

    Just some of the obvious, make your you have a registered external domain, external dns pointing your external IP, NAT Rules in place to forward requests, etc.

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    In addition to the above, the hosts file is incorrect and there's no A record for your mail server. Go to the Split DNS article and read the configuration details in there.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    kent05 is offline Junior Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    3

    Default

    Quote Originally Posted by VTC View Post
    Just some of the obvious, make your you have a registered external domain, external dns pointing your external IP, NAT Rules in place to forward requests, etc.
    Tks for your reply. Currently we are using exchange 5.5. server & it is registered to external domain, which is mydomain.com.my in the example above. I can send & receive within zimbra users, can send outside but cannot receive internal emails. I guess need to register an external domain for our zimbra email server as well.

    Quote Originally Posted by phoenix View Post
    In addition to the above, the hosts file is incorrect and there's no A record for your mail server. Go to the Split DNS article and read the configuration details in there.
    The host file will remain as per listed above after reboot server or manually restart networking service, even i added alias 'webmail' after the second line.

    host $(hostname)
    Code:
    webmail.mydomain.com.my has address 192.168.1.33
    nslookup webmail.mydomain.com.my
    Code:
    Server:         127.0.0.1
    Address:        127.0.0.1#53
    
    Name:   webmail.mydomain.com.my
    Address: 192.168.1.33
    dig mydomain.com.my mx
    Code:
    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27749
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;mydomain.com.my.                        IN      MX
    
    ;; ANSWER SECTION:
    mydomain.com.my.        86400   IN      MX      10 webmain.mydomain.com.my.
    
    ;; AUTHORITY SECTION:
    mydomain.com.my.         86400   IN      NS      192.168.1.33.
    
    ;; ADDITIONAL SECTION:
    webmail.mydomain.com.my.  86400   IN      A       192.168.1.33
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Fri Apr 20 14:14:27 2012
    ;; MSG SIZE  rcvd: 97
    dig mydomain.com.my any
    Code:
    ; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47589
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;mydomain.com.my.                        IN      ANY
    
    ;; ANSWER SECTION:
    mydomain.com.my.         86400   IN      SOA     webmail.mydomain.com.my. admin.mydomain.com.my. 3540735832 604800 86400 2419200 86400
    mydomain.com.my.         86400   IN      NS      192.168.1.33.
    mydomain.com.my.         86400   IN      MX      10 webmail.mydomain.com.my.
    mydomain.com.my.         86400   IN      A       192.168.1.33
    
    ;; ADDITIONAL SECTION:
    webmail.mydomain.com.my.  86400   IN      A       192.168.1.33
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Fri Apr 20 14:20:13 2012
    ;; MSG SIZE  rcvd: 155

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Unable to receive email 4.5.6:
    By cornbread in forum Installation
    Replies: 8
    Last Post: 09-29-2007, 11:51 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 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
  •