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

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 06-21-2011, 05:10 PM
Senior Member
 
Posts: 50
Default zmhostname - outgoing mail problems

Hi Community,
We been facing an ackward problem with one of our servers. We have configured the DNS following all the guidelines on the forums and wiki, and it does resolve internally and externally, even the PTRs. The only thing that we have found different on the config is that we have on DNS:

mail.domain.com as MX, A and NS records

and

domain.com as zmhostname

In the zmhostname the hostname does no appear, and we have the problem that outgoing mail to some domains (hotmail, gmail, etc) are being held on the active queue or deffered, we looked on the zimbra.log and to the domains that is not delivering it gives the following error:

lost connection with hotmail.com[65.55.72.183] while receiving the initial server greeting

Is it possible that this issue might be blocking delivery?. Also, we have DNS lookup unchecked, because if we check it it starts to deliver ok to all outside domains but gives the following error when we deliver to the local domain:

<user@domain.com>: Host or domain name not found. Name service error for name=domain.com type=A: Host found but no data record of requested type

In advance, thanks for all the help you might give us. Please feel free to ask for the configuration files if they are needed (in case you think the problem goes beyond the issue stated before).

Regards,
Ed
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #2 (permalink)  
Old 06-21-2011, 10:58 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

According to the information you've posted it would appear your DNS or your hostname is not correct. Go to the 'Verify...' section of the Split DNS article and post the output of all the commands in that section.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-22-2011, 04:00 AM
Senior Member
 
Posts: 50
Default

Bill,
Thanks for your answer, I'll be posting as soon as I get tothe office. For what you tell me then, zmhostneme is wrong and should be in the form hostname.domain.com right?

Thanks,
Ed
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #4 (permalink)  
Old 06-22-2011, 04:04 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by Mo_Hong View Post
For what you tell me then, zmhostneme is wrong and should be in the form hostname.domain.com right?
Yes, that's correct but do check the details in the wiki article.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 06-22-2011, 05:47 AM
Senior Member
 
Posts: 50
Default Split DNS - Verification

Code:
Dig MX
[root@correo ~]# dig domain.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> domain.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58478
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 3

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

;; ANSWER SECTION:
domain.com.		3600	IN	MX	5 mail.domain.com.
domain.com.		3600	IN	MX	10 domain.com.domain.com.

;; AUTHORITY SECTION:
fuller-ve.com.		3600	IN	NS	correo.domain.com.

;; ADDITIONAL SECTION:
mail.domain.com.	3600	IN	A	10.10.2.252
domain.com.domain.com. 3600 IN	A	10.10.2.252
correo.domain.com.	3600	IN	A	10.10.2.252

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 22 08:06:46 2011
;; MSG SIZE  rcvd: 151
Code:
Dig domain.com any
[root@correo ~]# dig domain.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> domain.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23295
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 3

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

;; ANSWER SECTION:
domain.com.		3600	IN	SOA	correo.domain.com. admin.domain.com. 2 10800 3600 604800 3600
domain.com.		3600	IN	MX	10 domain.com.domain.com.
domain.com.		3600	IN	MX	5 mail.domain.com.
domain.com.		3600	IN	NS	correo.domain.com.

;; ADDITIONAL SECTION:
mail.domain.com.	3600	IN	A	10.10.2.252
domain.com.domain.com. 3600 IN	A	10.10.2.252
correo.domain.com.	3600	IN	A	10.10.2.252

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 22 08:09:47 2011
;; MSG SIZE  rcvd: 193
Code:
host $(hostname)
correo.dominio.com has address 10.10.2.252
Code:
cat /etc/resolv.conf
nameserver 127.0.0.1
search domain.com
Code:
cat /etc/hosts
127.0.0.1       localhost localhost.localdomain
10.10.2.252     domain.com
10.10.2.252     mail.domain.com mail
10.10.2.252     correo.domain.com correo

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I've already seen a couple of errors, but I'll wait on your comments on this. By the way,

Code:
zmhostname
[zimbra@correo ~]$ zmhostname
domain.com
Thanks,
Ed
__________________
Netnovation...using Zimbra since 2005

Last edited by phoenix; 06-22-2011 at 06:01 AM..
Reply With Quote
  #6 (permalink)  
Old 06-22-2011, 05:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Your hosts file is incorrect, it should only contain the entries (two lines) mentioned in the wiki article.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 06-22-2011, 06:22 AM
Senior Member
 
Posts: 50
Default

Ok, changed the /etc/hosts file. Now we have the following erro when tryin to restar Zimbra services:

[zimbra@correo ~]$ zmcontrol start
Host fuller-ve.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
daemon: getaddrinfo() failed: Name or service not known
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #8 (permalink)  
Old 06-22-2011, 06:24 AM
Senior Member
 
Posts: 50
Default

Changed back the /etc/hosts file to the following:

/etc/hosts
127.0.0.1 localhost localhost.localdomain
10.10.2.252 domain.com correo

and I could start again the Zimbra services.
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #9 (permalink)  
Old 06-22-2011, 06:25 AM
Senior Member
 
Posts: 50
Default

Can I proceed to change the zmhostname and after proceed to change the hosts file??
__________________
Netnovation...using Zimbra since 2005
Reply With Quote
  #10 (permalink)  
Old 06-22-2011, 06:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by Mo_Hong View Post
Changed back the /etc/hosts file to the following:

/etc/hosts
127.0.0.1 localhost localhost.localdomain
10.10.2.252 domain.com correo

and I could start again the Zimbra services.
That format is not correct, it should look like this:

Code:
/etc/hosts
127.0.0.1 localhost localhost.localdomain
10.10.2.252 correo.domain.com correo
Then: ZmSetServerName - Zimbra :: Wiki - make sure you take a backup before doing this.
__________________
Regards


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