I have Zimbra OS running on Ubuntu 6.10. There a few "gotchas" that took time to track down. I've seen a lot of posts that people are having problems on the newer version of Ubuntu. FYI, I originally tried Ubuntu 6.06LTS and ran into several issues - maybe the Network Edition requires it but the OS edition didn't like it at all

Here's notes I took while getting the install going:
1. Install Ubuntu 6.10
2. Relink '/bin/sh' to point to '/bin/bash':
Code:
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
3. Install required packages:
Code:
sudo apt-get install curl openssl libxml2 libexpat1 libgmp3c2 libpcre3 fetchmail libidn11 openssh-server
4. Install DNS server:
Code:
sudo apt-get install bind9
5. Setup DNS files
5a. Create named.conf.local file: (This file is referenced by the named.conf file)
Code:
sudo nano /etc/bind/named.conf.local
Replace any existing contents in this file with the following code: (change domain.com to reflect your domain)
Code:
zone "email.domain.com" {
type master;
file "/etc/bind/zones/email.domain.com.db";
}; Save and exit nano.
5b. Modify options:
Code:
sudo nano /etc/bind/named.conf.options
Change the forwarders section to point to your ISP's DNS servers. Example:
Code:
forwarders {
208.67.222.222;
208.67.220.220;
}; Save and exit nano.
5c. Create the zone file: (Change "domain.com" in the next line to reflect your domain)
Code:
sudo nano /etc/bind/zones/email.domain.com.db
Insert this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server)
Code:
; email.domain.com
$TTL 604800
@ IN SOA ns.email.domain.com. root.email.domain.com. (
2007022601
28800
3600
604800
38400
);
@ IN NS ns
IN MX 10 mail
IN A 10.0.0.1
ns IN A 10.0.0.1
mail IN A 10.0.0.1 Save and exit nano.
5d. Ensure the local DNS server is used for resolving DNS first:
Code:
sudo nano /etc/resolv.conf
Replace existing code with this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server; replace the 208.x.x.x IPs with your ISP's DNS server IPs)
Code:
search email.domain.com
nameserver 10.0.0.1
nameserver 208.67.222.222
nameserver 208.67.220.220
Save and exit nano.
6. Restart DNS to pick up changes:
Code:
sudo /etc/init.d/bind9 restart
7. Download and unpack the Zimbra Ubuntu open source binary
8. Run the installer
9. Config Zimbra:
option 6 then 4 (set password)
option r (return to prev menu)
option a (apply)
10. After Zimbra starts make sure the server properties (in the Admin UI) for Trusted MTA contain the local IP address.