Zimbra Collaboration Suite (ZCS) Open Source Edition v5.0 On Debian Etch

Want to support HowtoForge? Become a subscriber!
Submitted by o.meyer (Contact Author) (Forums) on Sun, 2008-02-10 18:10. :: Debian | Control Panels | Email

Zimbra Collaboration Suite (ZCS) Open Source Edition v5.0 On Debian Etch

Version 1.0
Author: Oliver Meyer <o [dot] meyer [at] projektfarm [dot] de>
Last edited 02/06/2008

This document describes how to set up the Zimbra Collaboration Suite (ZCS) Open Source Edition v5.0 on Debian Etch. The resulting system provides a full featured collaboration-suite with many features that I can't list all here - please have a look at the feature list. It also comes with a nice (themeable) AJAX web interface for administration and user access.

This howto is a practical guide without any warranty - it doesn't cover the theoretical backgrounds. There are many ways to set up such a system - this is the way I chose.


1 Preparation

Install a standard Debian Etch system and update it. I used a network installation (only standard system).


2 Hostname

You have to assign the hostname to the server ip. It is very important that the fqdn entry appears before the hostname.

vi /etc/hosts

It should look like this:       localhost.localdomain localhost   server1.example.com server1

# 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


Afterwards insert the hostname into the hostname file ...

echo server1.example.com > /etc/hostname

... and reboot the system.


When the system is up again, the output of the both commands ...


... and ...

hostname -f

... should be:




You need a running DNS server in your LAN that contains a valid A & MX record for this server - otherwise Zimbra won't work. I used another server ( running mydns for this howto. Add the nameserver's IP to the resolve configuration:

vi /etc/resolv.conf

The nameserver on your LAN has to be the first entry. It should look like this:



4 Exim

Deinstall Exim - Zimbra comes with it's own mailserver.

apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light


5 Needed packages

Let's install some needed packages (maybe some of these packages are already installed on your system).

apt-get install libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libexpat1 libgetopt-mixed-perl libxml2 libstdc++6 libpcre3 libltdl3 ssh


6 Get Zimbra

Please take a look at http://www.zimbra.com/community/downloads.html to see which is the latest version. Download and unpack it.

cd /tmp/
wget http://files.zimbra.com/downloads/5.0.2_GA/zcs-5.0.2_GA_1975.DEBIAN4.0.20080130234700.tgz
tar xvfz zcs-5.0.2_GA_1975.DEBIAN4.0.20080130234700.tgz

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Wed, 2009-03-04 22:39.

To install Zimbra on a debian 5.0 Squeeze you'll have to modify those files:


        grep "5.0" /etc/debian_version > /dev/null 2>&1
        if [ $? = 0 ]; then
            echo "DEBIAN4.0${i}"
            exit 0

 and the debian version:



Submitted by Anonymous (not registered) on Thu, 2008-10-23 13:06.

Hi, thanks for the how-to.

On a fresh etch you also need the "file" package, or you will have problems with the mail delivery.

Submitted by Luís Miguel Silva (not registered) on Mon, 2009-01-19 01:05.

Great How to :o)

 I just wanted to let you guys know that i also had to install libperl5.8!



Submitted by Jasent (not registered) on Fri, 2009-07-24 23:05.

I made two thing so the istalation to pass on debian 5 /lenny:

1. canged temporary /etc/debian_version from 5.0 to 4.0

2.Runing this to downgrade perl. 10



wget http://ftp.at.debian.org/debian/pool/main/p/perl/perl-modules_5.8.8-7etch6_all.deb
wget http://ftp.at.debian.org/debian/pool/main/p/perl/perl_5.8.8-7etch6_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/p/perl/perl-base_5.8.8-7etch6_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/p/perl/libperl5.8_5.8.8-7etch6_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/d/db4.4/libdb4.4_4.4.20-8_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libs/libsocket6-perl/libsocket6-perl_0.19-1_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libt/libterm-readkey-perl/libterm-readkey-perl_2.30-3_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libl/liblocale-gettext-perl/liblocale-gettext-perl_1.05-1_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libt/libtext-iconv-perl/libtext-iconv-perl_1.4-3_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libt/libtext-charwidth-perl/libtext-charwidth-perl_0.04-4_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.30-1_i386.deb
wget http://ftp.at.debian.org/debian/pool/main/libn/libnet-libidn-perl/libnet-libidn-perl_0.07-1_i386.deb

dpkg -i perl-modules_5.8.8-7etch6_all.deb perl-base_5.8.8-7etch6_i386.deb
        perl_5.8.8-7etch6_i386.deb libperl5.8_5.8.8-7etch6_i386.deb
        libdb4.4_4.4.20-8_i386.deb libsocket6-perl_0.19-1_i386.deb
        libterm-readkey-perl_2.30-3_i386.deb liblocale-gettext-perl_1.05-1_i386.deb
        libtext-iconv-perl_1.4-3_i386.deb libtext-charwidth-perl_0.04-4_i386.deb
        libnet-ssleay-perl_1.30-1_i386.deb libnet-libidn-perl_0.07-1_i386.deb