Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-2010, 08:21 PM
New Member
 
Posts: 4
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 12:11 AM..
Reply With Quote
  #2 (permalink)  
Old 02-20-2010, 12:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #3 (permalink)  
Old 02-20-2010, 03:43 AM
New Member
 
Posts: 4
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.
Reply With Quote
  #4 (permalink)  
Old 02-21-2010, 11:25 PM
New Member
 
Posts: 4
Default

So does anyone have any ideas?

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

Cheers.
Reply With Quote
  #5 (permalink)  
Old 02-22-2010, 03:16 AM
Moderator
 
Posts: 7,929
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.
__________________
Reply With Quote
  #6 (permalink)  
Old 02-22-2010, 03:46 AM
New Member
 
Posts: 4
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.