This action might not be possible to undo. Are you sure you want to continue?
This guide shows how to install the Zimbra Collaboration Suite (ZCS) on Ubuntu 6.10 (Edgy Eft) and 6.06 (Dapper Drake) server systems. Zimbra is a full-featured, open source collaboration suite - email, group calendaring, contacts, and web document management and authoring. It has a feature-rich AJAX web interface and is compatible with clients such as Microsoft Outlook, Apple Mail, and Novell Evolution so that mail, contacts, and calendar items can be synchronised from these to the ZCS server. It can also be synchronized to many mobile devices. ZCS makes use of many existing open source projects such as Postfix, MySQL, and OpenLDAP. I do not issue any guarantee that this will work for you!
1 Preliminary Note
Please download the Ubuntu 6.10 or 6.06 server CD from http://www.ubuntu.com/download and install a basic Ubuntu system with it. Don't install/enable any services (e.g. like LAMP or DNS) - if you do, you'll have to disable them later on as they might interfere with Zimbra! After the installation of the base system, we'll do some additional configuration, e.g. enable the root account, install an SSH daemon, apply a static IP address and a hostname to the system. I will use the hostname mail.example.com in this tutorial together with the IP address 192.168.0.110. Adjust this to your needs, but make sure that mail.example.com has a valid MX record in DNS (Zimbra needs this!). I assume you want to create email accounts for example.com instead of mail.example.com, so you should have an MX record for example.com as well. In this example the Zimbra server is in a local network (192.168.0.110 is a private IP address) behind a router, so make sure you use the router's public IP address (220.127.116.11 in this example) in the DNS records - of course this IP address should be static. If you have a dynamic IP address, you could use a service such as DynDNS.org, but keep in mind that most public IP addresses are blacklisted nowadays. So if you use BIND on the authoritative name server for example.com, you should have something like this in example.com's zone file:
[...] mail.example.com. mail.example.com. example.com. [...] A 18.104.22.168 MX 0 mail.example.com. MX 0 mail.example.com.
If your Ubuntu server is behind router, make sure that you forward at least port 25 from your router to your Ubuntu server. If your Ubuntu server is in a data center, it most likely has a static public IP address and a hostname, so you can skip chapter 1.3, but still you must make sure that this hostname has a valid MX record.
1.1 Enable The root Account To enable the root account, run sudo passwd root and specify a password for root. Afterwards, become root by running su All following commands in this tutorial are executed as root (unless something else is written)!
1.2 Install The SSH Daemon Just run apt-get install ssh openssh-server to install the SSH daemon.
1.3 Apply A Static IP Address And Hostname Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.110): vi /etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface
com mail # 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 Now run echo mail.168. .example.example.auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192. run hostname hostname -f Both should show mail. From now on you can use an SSH client such as PuTTY and connect from your workstation to your Ubuntu server and follow the remaining steps from this tutorial.0.168.0.localdomain localhost mail.168.0 network 192.255.0.d/networking restart Then edit /etc/hosts.110 netmask 255.0.0.1 Then restart your network: /etc/init. Make it look like this: vi /etc/hosts 127.255.168.255 gateway 192.com.example.0.0 broadcast 192.com > /etc/hostname and reboot the system: shutdown -r now Afterwards.168.1 192.110 localhost.0.
06 ("Dapper Drake").. .5 Disable Services If this is no fresh system and you have some services already running (such as Postfix.10 ("Edgy Eft").] On Ubuntu 6.10 _Edgy Eft_ .Release i386 (20061025.. Apache.06 _Dapper Drake_ . therefore I disable the Ubuntu CD in /etc/apt/sources.list On Ubuntu 6.d/postfix stop update-rc. it's this line: [.] Then update the packages database by running apt-get update 1. OpenLDAP).1.. to disable Postfix on your system.list I like to install all packages over the internet instead of from the Ubuntu CD.d -f postfix remove The commands for the other services are similar. you must disable them first before installing Zimbra.Release i386 (20060531)]/ dapper main restricted [.list now: vi /etc/apt/sources.4 Disable The Ubuntu CD In /etc/apt/sources. For example.. run /etc/init. comment out this line: [...] #deb cdrom:[Ubuntu-Server 6...1)]/ edgy main restricted [.] #deb cdrom:[Ubuntu-Server 6. Otherwise Zimbra will fail to install.
tgz cd zcs/ .. you will most likely get an error like this during the Zimbra installation: Creating SSL certificate. /bin/sh points to /bin/bash by default.failed to start slapd FAILED (1) On Ubuntu Dapper Drake. Answer them like this: .TLS: error:02001002:system library:fopen:No such file or directory bss_file.UBUNTU6.tgz (Replace the download URL with the one you get from SourceForge. go to http://www.c:354 TLS: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ssl_rsa.tgz) package to /usr/src.5. however we need /bin/bash.com/community/downloads.tgz file and start the installer: tar xvfz zcs-4..html and download the Ubuntu 6 (. so everything is ok.Done Initializing ldap.5. unpack the Zimbra .net/sourceforge/zimbra/zcs-4./install.) Afterwards.10 Edgy Eft Only) If you are on Ubuntu Edgy Eft.sh The installer will ask a few questions.UBUNTU6. not /bin/dash.sourceforge.dl. most probably /bin/sh is a symlink to /bin/dash.2 Change The Default Shell (Ubuntu 6. 3 Install Zimbra First let's install some prerequisites for Zimbra: apt-get install curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl Afterwards.c:648 main: TLS init def ctx failed: -1 ERROR . for example like this: cd /usr/src wget http://kent.c:352 TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.zimbra.. Therefore we do this: rm -f /bin/sh ln -s /bin/bash /bin/sh If you don't do this.3_GA_733..3_GA_733.
4416 Checking for existing installation.html Press Return to continue <-. THEN DO NOT DOWNLOAD..NOT FOUND zimbra-logger.log.<ENTER> Install zimbra-mta [Y] <-. INSTALL OR USE THE PRODUCT...... Continue? [N] <-.NOT FOUND zimbra-spell.com . OR USING THE PRODUCT..<ENTER> Install zimbra-store [Y] <-.. YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. ZIMBRA.com/license/collaboration_suite_collective_license_1.<ENTER> Install zimbra-snmp [Y] <-.. zimbra-ldap....<ENTER> The system will be modified.0..<ENTER> Install zimbra-logger [Y] <-. INC.NOT FOUND zimbra-core.<ENTER> Install zimbra-spell [Y] <-.NOT FOUND zimbra-apache.example..NOT FOUND zimbra-store.NOT FOUND zimbra-mta..NOT FOUND PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. License Terms for the Zimbra Collaboration Suite: http://www.zimbra.Operations logged to /tmp/install... IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT.NOT FOUND zimbra-snmp. BY DOWNLOADING OR INSTALL ING THE SOFTWARE.y Main menu 1) Hostname: mail..<ENTER> Install zimbra-ldap [Y] <-.
example.com +SMTP host: mail.com +Global Documents Account: firstname.lastname@example.org ******* +Admin Password UNSET +Enable automated spam training: yes +Spam training user: spam.com +Non-spam(Ham) training user: ham.example.com +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web server mode: http +Enable POP/IMAP proxy: no +IMAP server port: 143 +IMAP server SSL port: 993 +POP server port: 110 +POP server SSL port: 995 +Use spell check server: yes +Spell server URL: http://mail.com ** 4) Admin Password UNSET 5) Enable automated spam training: yes 6) Spam training user: spam.2) Ldap master host: mail.com 8) Global Documents Account: email@example.com:firstname.lastname@example.org@mail.example.6 Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: email@example.com .example.com 9) SMTP host: mail.com 7) Non-spam(Ham) training user: firstname.lastname@example.org 7) zimbra-mta: Enabled 8) zimbra-snmp: Enabled 9) zimbra-logger: Enabled 10) zimbra-spell: Enabled r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? .email@example.com) <-.com 3) Ldap port: 389 4) Ldap password: set 5) zimbra-ldap: Enabled 6) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@mail.
3_GA_733_UBUNTU6) . or press 'a' to apply config (? .y You have the option of notifying Zimbra of your installation.5762] <-.g.yZtFh] <-.com:7780/aspell.com 2) Ldap master host: mail.example.<ENTER> Saving config in /opt/zimbra/config.<ENTER> Main menu 1) Hostname: mail. howtoforge] Select..10) Web server HTTP port: 11) Web server HTTPS port: 12) Web server mode: 13) Enable POP/IMAP proxy: 14) IMAP server port: 15) IMAP server SSL port: 16) POP server port: 17) POP server SSL port: 18) Use spell check server: 19) Spell server URL: 80 443 http no 143 993 110 995 yes http://mail. The only information that will be transmitted is: The VERSION of zcs installed (4.com 3) Ldap port: 389 4) Ldap password: set 5) zimbra-ldap: Enabled 6) zimbra-store: Enabled 7) zimbra-mta: Enabled 8) zimbra-snmp: Enabled 9) zimbra-logger: Enabled 10) zimbra-spell: Enabled r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit *** CONFIGURATION COMPLETE .a Save configuration data to a file? [Yes] <-. e.continue? [No] <-.help) <-.[specify a password for the admin user. or 'r' for previous menu [r] <-.5.example.php Select.Done The system will be modified . or 'r' for previous menu [r] <-. This helps us to track the uptake of the Zimbra Collaboration Suite.press 'a' to apply Select from menu.example.<ENTER> Save config in file: [/opt/zimbra/config.5762.4 Password for firstname.lastname@example.org..com (min 6 characters): [8BD.
<ENTER> That's it already.[if you want to notify Zimbra of your installation. I'm .example. type y. become the zimbra user: su .example.com).example. 4 The Zimbra Web Interface Zimbra comes with a web interface for the administrator (https://mail.com:7071/zimbraAdmin) and normal users (http://mail.The ADMIN EMAIL ADDRESS created (admin@mail. otherwise n] Configuration complete .com) Notify Zimbra of your installation? [Yes] <-.com antispam Running antivirus Running ldap Running logger Running mailbox Running mta Running snmp Running spell Running If not all services are started.example. run zmcontrol start Type exit to become root again. To test if all Zimbra services are running.press return to exit <-.zimbra and run zmcontrol status The output should look like this: zimbra@mail:~$ zmcontrol status Host mail.
example.zimbra.zimbra.html and http://wiki.com. Log in with the username admin and the password you specified during the Zimbra installation: This is how the admin panel looks like: . 4. but no help on how to use Zimbra.1 The Administration Console You can now open a browser and open the Zimbra Administrator web interface. To learn how to use Zimbra. The URL is https://mail.com/community/documentation. please refer to http://www.com:7071/zimbraAdmin.going to show some basic screenshots here.
You can find all pre-configured email addresses under Accounts: .
example.com because you want email addresses of the form user@example.If you want to add a new domain (e.example. click on Domains and then on New: .com instead of email@example.com).
Create example.com: .
com is listed in the domains list: .Afterwards. example.
go to Accounts and click on New: .To create a new user.
com vs. Take care that you select the right domain (example.example. mail.com): .Follow the wizard to create a new email account.
Afterwards. mark the new account in the accounts list and click on Edit: .
Specify a password for the new account on the General Information tab and click on Save: .
example. you can log out of the admin panel and go to http://mail.2 The User Webinterface Now that you've created a normal user account.4.com. Log in with the email address and the password of the new account: .
. etc. calendar. You have tabs to manage your emails.This is how the user webinterface looks like. documents. address book.
sh -u and delete the Zimbra installation directory afterwards: cd /usr/src rm -rf zcs .5 Uninstall Zimbra If you want to uninstall Zimbra./install. do it like this: Go the the Zimbra installation directory (I hope you didn't delete it): cd /usr/src/zcs Then run .
com and that is why I could got any email or reply I was successfull in sending mails.com. This is a nice site who really are linux noobz.2.com. it is really helpfull and it just works I am new to this forum so let me be part of this please I followed this how to and got my zimbra running without any major issue. Again.conf or somewhere else [. I cannot figure out where this info should go /etc/hosts or /etc/resolv. so followed rest and it still worked very nice but I was not able to browse by domain mail. mail.example. but I used IP instead and that worked. Thank you in advance ryazkhan@gmail.] A 1.example...How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu . example. thank you for a nice work!!!! reply | view as pdf Many many thanks to writer Submitted by ryazkhan (registered user) on Sat..Page 2 THANK YOU!!! Submitted by Oniemusha (not registered) on Thu. 2008-04-05 04:56.example. Many many thanks to writer of this greate how to.4 MX 0 mail.com.example. MX 0 mail. I am really thankfull to writer and asking for little help to clear where this stuff stated above suppose to go and if possible give me exact files contents which will be greate help..com . [.com.] mail.com.example. 2010-07-15 09:25. i just followed the instruction and voila my zimbra mail is online.3.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.