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.
127.0.0.1 localhost.localdomain localhost
192.168.0.189 missdebra.com missdebra
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
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.
Operations logged to /tmp/install.log.28616
Checking for existing installation...
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...
Checking for suggested prerequisites...
Prerequisite check complete.
Checking for installable packages
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
The system will be modified. Continue? [N] y
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.
Operations logged to /tmp/zmsetup.09242011-204946.log
Installing LDAP configuration database...done.
Setting defaults...No results returned for A lookup of missdebra.com
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.
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.