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 07-06-2009, 10:22 AM
Junior Member
 
Posts: 5
Default Server keeps deferring mail unable to find MX of other hosts

Okay, I'm sure I've got something out of whack.

CentOS 5 server, latest ZCS.

I manage the DNS through another server, (same network) and currently have everything pointing to the ZCS server.

I can send mail to any of the users, however they can't send mail out of ZCS because the server defers it with the notice:
"host or domain name not found name service error for name=gmail.com type=MX: host not found, try again"

It's acting like it can't do DNS look up, or MX look up for gmail.com or any outside domain for that matter.

I don't want a subdomain in front of the domain in the mail addresses: the e-mail addresses have to look like first.last@domain.com

The default domain in the Zimbra Admin Control Panel, is set to "domain.com" without the quotes, I'm not comfortable showing the real domain name.

The Web mail MTA Hostname is showing "mail.domain.com" in the global settings, with out the quotes.

In Configuration > Servers > domain.com > general information tab >
Display Name: domain.com
Service host name: domain.com

In In Configuration > Servers > domain.com > MTA tab >
Web mail MTA Hostname: mail.domain.com
MTA Trusted Networks: 127.0.0.0/8 72.xxx.xxx.154/32 72.xx.xxx.50/31

On the DNS Server at IP 72.xx.xxx.50:

72.233.36.154 / 24 PTR domain.com.
ftp.domain.com. CNAME domain.com.
mail.domain.com. A 72.xxx.xxx.154
domain.com. NS ns1.hiddenforsafety.com.
domain.com. NS ns2.hiddenforsafety.com.
domain.com. A 72.xxx.xx.154
domain.com. MX (10) mail.domain.com.
webmail.domain.com. A 72.233.36.154
Register a Domain, Find Hosting and Create a Website | Domain.com. CNAME domain.com.

----

Any idea what I'm missing and why it would continue to defer mail sent to other domains?
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 10:26 AM
Zimbra Consultant & Moderator
 
Posts: 19,613
Default

Post the output of the following commands 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 07-06-2009, 10:44 AM
Junior Member
 
Posts: 5
Default

From hosts:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
72.xxx.xx.154 mail.domain.com mail
:1 localhost6.localdomain6 localhost6

----
From resolv.conf
nameserver 72.xx.xxx.50
nameserver 72.xx.xxx.51
domain ns1.mydnsserversdomain.com

----
from dig domain.com any
; <<>> DiG 9.3.4-P1 <<>> domain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19070
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3

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

;; ANSWER SECTION:
domain.com. 86400 IN MX 10 mail.domain.com.
domain.com. 86400 IN SOA ns1.mydnsserversdomain.com.
domain.com. 86400 IN NS ns2.mydnsserversdomain.com.
domain.com. 86400 IN NS ns1.mydnsserversdomain.com.
domain.com. 86400 IN A 72.xxx.xx.154

;; ADDITIONAL SECTION:
mail.domain.com. 86400 IN A 72.xxx.xx.154
ns1.mydnsserversdomain.com. 86400 IN A 72.xx.xxx.50
ns2.mydnsserversdomain.com. 86400 IN A 72.xx.xxx.51

;; Query time: 1 msec
;; SERVER: 72.xx.xxx.50#53(72.xx.xxx.50)
;; WHEN: Mon Jul 6 13:35:38 2009
;; MSG SIZE rcvd: 234

----

from dig domain.com mx
; <<>> DiG 9.3.4-P1 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32972
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

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

;; ANSWER SECTION:
domain.com. 86400 IN MX 10 mail.domain.com.

;; AUTHORITY SECTION:
domain.com. 86400 IN NS ns2.mydnsserversdomain.com.
domain.com. 86400 IN NS ns1.mydnsserversdomain.com.

;; ADDITIONAL SECTION:
mail.domain.com. 86400 IN A 72.xxx.xx.154
ns1.mydnsserversdomain.com. 86400 IN A 72.xx.xxx.50
ns2.mydnsserversdomain.com. 86400 IN A 72.xx.xxx.51

;; Query time: 1 msec
;; SERVER: 72.xx.xxx.50#53(72.xx.xxx.50)
;; WHEN: Mon Jul 6 13:39:59 2009
;; MSG SIZE rcvd: 149

----
from host `hostname`

domain.com has address 72.xxx.xx.154
domain.com mail is handled by 10 mail.domain.com.
Reply With Quote
  #4 (permalink)  
Old 07-06-2009, 10:57 AM
Outstanding Member
 
Posts: 593
Default

Do you have "enable DNS lookup" checked ?
Reply With Quote
  #5 (permalink)  
Old 07-06-2009, 11:02 AM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by veronica View Post
Do you have "enable DNS lookup" checked ?
Yes, in Global Settings under the MTA tab.
Reply With Quote
  #6 (permalink)  
Old 07-06-2009, 11:05 AM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by veronica View Post
Do you have "enable DNS lookup" checked ?
As well as:
Configuration > Servers > domain.com > MTA Tab:
Dns Look up is enabled.
Reply With Quote
  #7 (permalink)  
Old 07-06-2009, 11:37 AM
Outstanding Member
 
Posts: 593
Default

from MTA server try running :
dig gmail.com MX

Does it gives you MX values ?
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.