Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: zmhostname - outgoing mail problems

  1. #1
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    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

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    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
    Last edited by phoenix; 06-22-2011 at 07:01 AM.
    Netnovation...using Zimbra since 2005

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    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

  8. #8
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    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

  9. #9
    Join Date
    Mar 2006
    Location
    Venezuela
    Posts
    52
    Rep Power
    9

    Default

    Can I proceed to change the zmhostname and after proceed to change the hosts file??
    Netnovation...using Zimbra since 2005

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 8
    Last Post: 04-10-2011, 10:14 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 PM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 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
  •