Until now, we have installed Postfix, Dovecot, spam-assassin, and other tools separately. In this recipe, we will learn how to install the Zimbra collaboration server, which covers all tools in a single package. The Zimbra server contains Postfix, MySQL, OpenLDAP, ClamAV, and Spam-Assassin, Calendar, and various other features. Zimbra provides a paid option as well as an open source version. We will be installing an open source version of the Zimbra server in single server mode.
As always, you will need access to a root account or an account with sudo
privileges.
For Zimbra to work properly, you will need the following minimum configuration for your server:
You will need to set proper DNS and MX records for your domain.
You will also need various ports, as follows:
Follow these steps to install Zimbra collaboration server:
$ sudo apt-get update $ sudo apt-get install libperl5.18 libaio1 unzip pax sysstat sqlite3 libgmp10
$ wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz $ tar -zxvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz $ cd zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116
$ cat /etc/hosts 127.0.0.1 localhost 119.9.107.28 mail.server.local mail $ cat /etc/hostname mail.server.local
$ sudo ./install.sh
y
and press Enter to continue:y
when asked for confirmation:y
when asked for package selection confirmation.6
to choose zimbra-store
and then type 4
for the admin password. The new prompt will ask for the admin account password:r
to come back to the main menu and then type a
to apply settings, and again press Enter to save settings:Yes
by typing y
to notify Zimbra:7071
, https://yourserver.tld:7071
.Zimbra combines various commonly used packages in a single package and provides a web interface to work with them. It reduces the efforts required in installing and configuring all tools separately. For any additional features, you can always switch to the Zimbra collaboration server, Network Edition.
If you are planning to use Zimbra on your local network, you will need a DNS server set up. Alternatively, you can use the tool dnsmasq
. It is a small package that sets up a quick DNS environment on your local network.