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 05-14-2008, 12:35 AM
Junior Member
 
Posts: 7
Default Cannot receive email due to host not found error.

Zimbra V 5.03 on SLES 9.1

Going crazy with this one and I know people are going to say 'check your dns'. I have spent hours checking the DNS and hosts. If I turn on "Enable DNS lookups", then all incoming email gets bounced with the following error.

Mail Error:
to=, relay=none, delay=10, delays=0.2/0.04/10/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=msp.domain.local type=A: Host not found)

Test Results are:

Hosts:
192.168.2.3 msp.domain.local msp

DNS:
dig mx domain.local -> msp.domain.local
dig msp.domain.local -> 192.168.2.3

Host:
host msp.domain.local
msp.domain.local has address 192.168.2.3
msp.domain.local mail is handled by 10 msp.domain.local.

All tests seem to prove the DNS is working but somehow Zimbra/postfix can't resolve an A record for the mail server? This doesn't seem to make any sense. Any clues or help much appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 12:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Do the following on the zimbra server and post the results:

Code:
host `hostnamea  <-- type as-is and use backticks not single quotes
dig .domain.local mx
dig .domain.local any
__________________
Regards


Bill

Last edited by phoenix; 05-14-2008 at 03:13 AM..
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 12:56 AM
Junior Member
 
Posts: 7
Default Ok More details

Code:
msp:/ # host 'msp.domain.local'
msp.domain.local has address 192.168.2.3
msp.domain.local mail is handled by 10 msp.domain.local.
Code:
msp:/ # dig domain.local  mx

; <<>> DiG 9.4.1 <<>> domain.local mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51207
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;domain.local.	IN	MX

;; ANSWER SECTION:
domain.local. 1200	IN	MX	10 msp.domain.local.

;; AUTHORITY SECTION:
domain.local. 1200	IN	NS	ns1.domain.local.

;; ADDITIONAL SECTION:
msp.domain.local.	1200 IN	A	192.168.2.3
ns1.domain.local. 1200 IN	A	192.168.2.3

;; Query time: 1 msec
;; SERVER: 192.168.2.3#53(192.168.2.3)
;; WHEN: Wed May 14 03:45:41 2008
;; MSG SIZE  rcvd: 114
Code:
msp:/ # dig domain.local  any

; <<>> DiG 9.4.1 <<>> domain.local any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23226
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;domain.local.	IN	ANY

;; ANSWER SECTION:
domain.local. 1200	IN	SOA	msp.domain.local. root.domain.local. 2008051406 10800 3600 604800 28800
domain.local. 1200	IN	MX	10 msp.domain.local.
domain.local. 1200	IN	NS	ns1.domain.local.

;; ADDITIONAL SECTION:
msp.domain.local.	1200 IN	A	192.168.2.3
ns1.domain.local. 1200 IN	A	192.168.2.3

;; Query time: 0 msec
;; SERVER: 192.168.2.3#53(192.168.2.3)
;; WHEN: Wed May 14 03:45:55 2008
;; MSG SIZE  rcvd: 155
Reply With Quote
  #4 (permalink)  
Old 05-14-2008, 03:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by moedaellc View Post
Code:
msp:/ # host 'msp.domain.local'
msp.domain.local has address 192.168.2.3
msp.domain.local mail is handled by 10 msp.domain.local.
That wasn't quite what I asked for, do thie following command exactly as I've typed it:

Code:
host `hostname`
and while we're at it you might as well post the output of the collowing:

Code:
cat /etc/hosts
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 05-14-2008, 03:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by moedaellc View Post
Zimbra V 5.03 on SLES 9.1
I notice from your first post that you say that you're installed on SLES9.1, I guess you know that it's EOL and therefore an unsupported platform for NE? Is this an NE install or OSS?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 05-14-2008, 03:45 AM
Moderator
 
Posts: 7,928
Default

http://www.zimbra.com/forums/announc...r-profile.html
__________________
Reply With Quote
  #7 (permalink)  
Old 05-14-2008, 05:33 AM
Junior Member
 
Posts: 7
Default Following directions

I made a mistake on the version in my post. This problem is on SLES10. I have too many instances to list them all in the profile. I do need to update the Zimbra versions in my profile as the Zimbra instances are now at 5.0.3 or 4 or 5.

Apparently I sometimes have trouble following directions. Here is the host results hopefully exactly as requested.

Code:
msps2@msp:~> host `hostname`
msp.domain.local has address 192.168.2.3
msp.domain.local mail is handled by 10 msp.domain.local.
Code:
msps2@msp:~> cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
192.168.2.3     msp.domain.local msp
192.168.2.4     mail.domain.local mail
Note the mail.domain.local is not used. Zimbra is provisioned as msp.domain.local.

I do vaguely recall from a couple of years ago that there was some Bind or Samba bug in SLES9.1 regarding using a domain name with a .local suffix. This is the only one of the Zimbra instances I have running on a .local TLD.

Thanks

Last edited by moedaellc; 05-14-2008 at 05:37 AM..
Reply With Quote
  #8 (permalink)  
Old 05-14-2008, 05:39 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

You need to modify the hosts file, change this:

Code:
127.0.0.1       localhost
to this:
Code:
127.0.0.1       localhost.localdomain localhost
and restart the server. Do you have any firewall and/or AppArmor installed or active on this server?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 05-14-2008, 05:48 AM
Junior Member
 
Posts: 7
Default No AppArmor or Firewall

I can't restart the server until this evening. I will make the suggested changes then and let you know what happens.

Thanks
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.