Results 1 to 6 of 6

Thread: [SOLVED] send external but not receive... DNS?

  1. #1
    bartm is offline New Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default [SOLVED] send external but not receive... DNS?

    Hi,

    I have spent quite some time trying to get my Zimbra OpenSource working on my ubuntu linux box at my flat. It all seems okay except that I can't recieve emails from external addresses.

    The delivery report error is:

    Final-Recipient: rfc822; admin@neiur.com
    Original-Recipient: rfc822;admin@neiur.com
    Action: failed
    Status: 5.4.4
    Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=lixser1.neiur.com type=A: Host not found

    The ports on the router look fine as I have been able to use the web page to log in remotely to both the mail and admin consoles. I am using DNSexit to rout external addresses to my Dynamic ISP address.

    I used the guide at: Ubuntu 8.04 LTS Server (Hardy Heron) Install Guide - Zimbra :: Wiki as a reference.

    Please take a look at the configuration below and suggest anything I might be able to do to recfify this. Many thanks in advance, I'm at a bit of a loss...


    Code:
    /etc/bind/named.conf.options
    
    options {
            directory "/var/cache/bind";
    
            // If there is a firewall between you and nameservers you want
            // to talk to, you might need to uncomment the query-source
            // directive below.  Previous versions of BIND always asked
            // questions using port 53, but BIND 8.1 and later use an unprivileged
            // port by default.
    
            query-source address * port 53;
    
            // If your ISP provided one or more IP addresses for stable
            // nameservers, you probably want to use them as forwarders.
            // Uncomment the following block, and insert the addresses replacing
            // the all-0's placeholder.
    
            forwarders {
                    69.57.160.118; 64.182.102.188;
            };
    
            auth-nxdomain no;    # conform to RFC1035
            listen-on-v6 { any; };
    };

    Code:
    /etc/resolv.conf
    
    nameserver 192.168.1.254
    
    
    /etc/bind/named.conf.local 
    
    //
    // Do any local configuration here
    //
    
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    
            zone "neiur.com" {
                    type master;
                    file "/etc/bind/db.neiur.com";
            };

    Code:
    /etc/bind/db.neiur.com
    
    ; BIND data file for neiur.com
    ;
    $TTL    604800
    @       IN      SOA     lixser1.neiur.com. admin.neiur.com. (
                             200210         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            2419200         ; Expire
                             604800 )       ; Negative Cache TTL
    ;
    @       IN      NS      mail
            IN      MX      10 mail
            IN      A       192.168.1.254
    mail    IN      A       192.168.1.254
    Code:
    /etc/hosts
    
    127.0.0.1       localhost.localdomain   localhost
    192.168.1.254   lixser1.neiur.com       lixser1
    Code:
    nslookup neiur.com
    
    Server:         192.168.1.254
    Address:        192.168.1.254#53
    Name: neiur.com
    Address: 192.168.1.254


    Thanks again!
    Last edited by phoenix; 02-20-2010 at 01:11 AM.

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

    Default

    Post the output of the following command (run on the Zimbra server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com any
    dig yourdomain.com mx
    host `hostname` <- use that exact command with backticks not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    bartm is offline New Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default

    Hi,

    Here goes...

    for cat /etc/hosts

    administrator@lixser1:~/zcs-6.0.5_GA_2213.UBUNTU8.20100202225756$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.254 lixser1.neiur.com lixser1

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts


    cat /etc/resolv.conf

    nameserver 192.168.1.254


    dig neiur.com any

    ; <<>> DiG 9.4.2-P2.1 <<>> neiur.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21798
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;neiur.com. IN ANY

    ;; ANSWER SECTION:
    neiur.com. 604800 IN SOA lixser1.neiur.com. admin.neiur.com. 200210 604800 86400 2419200 604800
    neiur.com. 604800 IN NS mail.neiur.com.
    neiur.com. 604800 IN MX 10 mail.neiur.com.
    neiur.com. 604800 IN A 192.168.1.254

    ;; ADDITIONAL SECTION:
    mail.neiur.com. 604800 IN A 192.168.1.254

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.254#53(192.168.1.254)
    ;; WHEN: Sat Feb 20 22:37:50 2010
    ;; MSG SIZE rcvd: 144


    dig neiur.com mx

    ; <<>> DiG 9.4.2-P2.1 <<>> neiur.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20732
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    neiur.com. 604800 IN MX 10 mail.neiur.com.

    ;; AUTHORITY SECTION:
    neiur.com. 604800 IN NS mail.neiur.com.

    ;; ADDITIONAL SECTION:
    mail.neiur.com. 604800 IN A 192.168.1.254

    ;; Query time: 6 msec
    ;; SERVER: 192.168.1.254#53(192.168.1.254)
    ;; WHEN: Sat Feb 20 22:40:02 2010
    ;; MSG SIZE rcvd: 78


    host `hostname`

    Host lixser1.neiur.com not found: 3(NXDOMAIN)

    Cheers, Bart.

  4. #4
    bartm is offline New Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default

    So does anyone have any ideas?

    The output from that last 'hostname' command doesn't seem right...

    Cheers.

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    [root@gateway remote]# dig +short neiur.com mx
    1 lixser1.neiur.com.
    [root@gateway remote]# dig +short lixser1.neiur.com
    [root@gateway remote]#
    You have no external DNS A record for your server so the MX cannot send the email anywhere.

  6. #6
    bartm is offline New Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default

    Ahh...

    I didn't set my Alias record to point to my host for the mail server on the external dns provider... was set for www requests only, so simple!

    Thanks for your help.

    Cheers, Bart.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 30
    Last Post: 02-16-2012, 01:46 AM
  2. Can send but can't receive external e-mail
    By davidelon in forum Administrators
    Replies: 3
    Last Post: 02-18-2010, 11:40 AM
  3. Replies: 1
    Last Post: 07-02-2009, 02:56 AM
  4. Replies: 1
    Last Post: 12-22-2008, 09:47 PM
  5. Replies: 3
    Last Post: 01-09-2007, 01:24 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
  •