I'm setting up a Zimbra server within the confines of our LAN. It is the open free to use version. It will operate as an internal mail server and calendering program (with shared calenders).

The machine has a 500gig HDD, 2gig RAM and has a completely new install of Ubuntu 10.04 (with desktop GUI). At present only sqlite3 and sysstat were installed because the Zimbra installer indicated that those were missing. No updates were from any repository.

This is a clean install.

The server name is missdebra.


*********************
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.189 missdebra.com missdebra
127.0.1.1 missdebra

# 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
*******************


If I don't list the FQDN as it is in my hosts file the installer fails with a prompt telling me to fix it in the /etc/hosts file.

The install.

*******************
sudo ./install.sh

Operations logged to /tmp/install.log.28616
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-cluster...NOT FOUND
zimbra-core...NOT FOUND


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
Zimbra - Zimbra Public End-User License Agreement, Version 2.3



Do you agree with the terms of the software license agreement? [N] y

Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.7.2p1-1ubuntu5.3
FOUND: libidn11-1.15-2
FOUND: libpcre3-7.8-3build1
FOUND: libgmp3c2-2:4.3.2+dfsg-1ubuntu1
FOUND: libexpat1-2.0.1-7ubuntu1
FOUND: libstdc++6-4.4.3-4ubuntu5
FOUND: libperl5.10-5.10.1-8ubuntu2.1
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite3
Prerequisite check complete.

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy


Select the packages to install

Install zimbra-ldap [Y]

Install zimbra-logger [Y]

Install zimbra-mta [Y]

Install zimbra-snmp [Y]

Install zimbra-store [Y]

Install zimbra-apache [Y]

Install zimbra-spell [Y]

Install zimbra-memcached [N]

Install zimbra-proxy [N]
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell

The system will be modified. Continue? [N] y

Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/security/limits.conf...done.

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core......zimbra-core_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-ldap......zimbra-ldap_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-logger......zimbra-logger_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-mta......zimbra-mta_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-snmp......zimbra-snmp_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-store......zimbra-store_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-apache......zimbra-apache_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
zimbra-spell......zimbra-spell_7.1.2_GA_3268.UBUNTU10_64_amd64.deb...done
Operations logged to /tmp/zmsetup.09242011-204946.log
Installing LDAP configuration database...done.
Setting defaults...No results returned for A lookup of missdebra.com
Checked nameservers:
192.168.0.1


DNS ERROR resolving missdebra.com
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes]
************************


When it prompts me to change the hostname for the mx record I say no.

The install completes.

I can move to a workstation and access the system by logging in as admin. I can create an account and log in to that.

When I go to create email it works. When I look at the sent items the email is there.

When I check the recipient there's NO mail listed.

Investigation leads me to believe I need to do a split DNS, as this machine is connected to the net, but I'm not using any internet resources, and this box is not registered on the net. This is for INTERNAL USE ONLY (at the moment).

I investigate configuring split DNS but what I find doesn't appear to explain setting it up properly.

Split DNS - Zimbra :: Wiki

The above articles seem to reference something called "named", which I suspect is the "name" daemon. It is also confusing as it mentions above to do it with "bind9" OR "dnsmasq", but the article appears to indicate that you must do both. Do I? Or just one or the other?

I have tried this with just the one, bind9. I did sudo apt-get install bind9 and began the process.

In the wiki, I get to the point where I'm supposed to edit some files (For Ubuntu/Kubuntu, edit: /etc/bind/named.conf.options) and I do so, but I'm a bit confused as to what to put in there. Besides the first file in question has a different layout/syntax from the one listed in this wiki's examples. AND, the include "/etc/rndc.key" file does not exist.

The wiki then proceeds to instruct that another file in the /var/named folder must be edited, except there is no /var/named folder. I can manually create one, but is that what I should be doing? It explains what to fill out here, but I'm confused as the instructions don't exactly match what the file says it should (in the wiki examples).

I edit the /etc/resolv.conf file accordingly. That one seems pretty straight forward. The next command miffs me though. There's no "/etc/init.d/named" file to start (or otherwise). Since there is no "named" command the command that triggers it to be auto started is irrelevant.

Of course then I hit the second part that appears to be the "OR" portion of the initial description above.

OK, with the information I have given can someone explain how those config files should be modified and can someone explain where the "named" program is from and how to get it installed, as Ubuntu's repository has it conspicuously missing.

OR

Could someone tell me an easier way to make a split DNS? I need to use this as internal email and calendering and maybe, just maybe, at some point in the future integrate, it with incoming and outgoing mail to others on the internet.

I apologize for the spam, but that's what the Zimbra installer spits out to me.

-Jim