Replacing old email server with Zimbra

Discussion in 'HOWTO-Related Questions' started by wildgoosed, Sep 26, 2008.

  1. wildgoosed

    wildgoosed New Member

    We currently have qmail running on an old FC5 box that I'm in the process of replacing with Zimbra on Ubuntu 8.04.

    I'm following this guide...

    We have 1 Public IP address that we run all of our Internet services off of (behind an IPCOP box)

    I've placed this new zimbra server ( on the nextwork beside our old qmail server ( and plan to just setup zimbra and change the port forwarding when done so that this whole process is fairly quick and transparent...

    My problem is that when I'm about done the installation, I get this following error...

    Fri Sep 26 08:19:49 2008 zimbra-ldap is enabled
    Fri Sep 26 08:19:49 2008 Initializing ldap...
    Fri Sep 26 08:19:49 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    IO::Socket::INET: connect: timeout at /opt/zimbra/libexec/zmldapinit line 160.

    Can anyone help out?
  2. wildgoosed

    wildgoosed New Member

    I think this is a DNS issue. When I run /opt/zimbra/libexec/ I get the following error...

    Operations logged to /tmp/zmsetup.09262008-142825.log
    Setting defaults...No results returned for A lookup of localhost
    Checked nameservers:

    DNS ERROR resolving localhost
    It is suggested that the hostname be resolveable via DNS
    Change hostname [Yes]

    What should I have in /etc/hosts?

    Like I mentioned above, This server is inside a DMZ behind an IPCOP box (orange network) and is using my ISP's dns servers.
    Last edited: Sep 26, 2008
  3. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/hosts?
    What's the output of
    hostname -f
  4. wildgoosed

    wildgoosed New Member


    Code:       localhost localdomain localhost     localhost.localdomain localhost
    # 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
    hostname -f

  5. falko

    falko Super Moderator ISPConfig Developer

    Please use a real hostname instead of localhost.localdomain in the line in /etc/hosts and also in /etc/sysconfig/network (I think that's the correct file). Restart the system afterwards.
  6. wildgoosed

    wildgoosed New Member

    This box is behind a IPCOP box in a DMZ and is using my ISP's nameserver.

    On the trusted network I'm using IPCOP as my DNS server.

    For this mail server in the DMZ what should its hostname be?
  7. wildgoosed

    wildgoosed New Member

    Thanks so far for your help.

    I'll explain our dns setup and maybe you can provide some advice on what I should do.

    Our DNS server (in the DMZ as well) handles 1 zone (domain.example)

    records in our zone file are as follows...

    www IN A
    ns1 IN A
    mail IN A
    @ IN A

    ;mail entry
    domain.example. MX 1 mail

    As you can see, all the hosts resolve to the same IP address. Because everything is behind that address in the dmz.

    These DMZ servers (we have a few) all use our ISP's nameservers to resolve queries.

    I'm confused as to what proper hostname I should be assigning to these computers, specifically this new mail server. It seems like whatever hostname I assign, none of them will resolve (in the zimbra setup)
  8. falko

    falko Super Moderator ISPConfig Developer

    Ok, I think you must use the internal DNS server on your mail server instead of the ones from your ISP because the name servers of your ISP cannot resolve your internal hostnames.
  9. wildgoosed

    wildgoosed New Member

    Hey falko, is it possible to use IPCOP as my dns server for this dmz server?
  10. falko

    falko Super Moderator ISPConfig Developer

    Yes, if there's a DNS server on your IPCop system. Make sure it resolves your internal hostnames.
  11. wildgoosed

    wildgoosed New Member

    Do I have to create a DMZ Pin hole to allow dns queries from my DMZ to IPCOP? I've done this but none of my queries are resolving, such as ect.
    Last edited: Oct 3, 2008
  12. falko

    falko Super Moderator ISPConfig Developer

    What does

Share This Page