New Mail Server – The Search

Kolab

KolabWeb

Unlike Axigen, Kolab is a Linux only product but it offers RPM/APT packages for pretty much every major distro. In my case CentoOS 6. The installation is pretty straightforward based on the install walk-through available on the Kolab site. Simply add the appropriate repos to Yum config (EPEL) and run

First. Disable the firewall on the box

[root@mailtest ~] cd /tmp
[root@mailtest tmp] wget http://files2.zimbra.com/downloads/8.0.4_GA/zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz
--2013-08-01 22:58:27--  http://files2.zimbra.com/downloads/8.0.4_GA/zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz
Resolving files2.zimbra.com... 184.84.243.193, 184.84.243.217
Connecting to files2.zimbra.com|184.84.243.193|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 595697371 (568M) [binary/octet-stream]
Saving to: âzcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgzâ
 
100%[=============================================================================================================>] 595,697,371 12.9M/s   in 45s
 
2013-08-01 22:59:13 (12.5 MB/s) - âzcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgzâ
 
[root@mailtest tmp] tar zxvf zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz
[root@mailtest tmp] cd zcs-8.0.4_GA_5737.RHEL6_64.20130524120036
[root@mailtest zcs-8.0.4_GA_5737.RHEL6_64.20130524120036] ./install.sh

Add EPEL repository to CentOS.

  ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
  to contain:
 
  <ip> <FQHN> <HN>
 
  Where <IP> is the ip address of the host,
  <FQHN> is the FULLY QUALIFIED host name, and
  <HN> is the (optional) hostname-only portion

Next, disable CentOS Extras. Add enabled=0 to [extras] section of CentOS repo (not compatible)

[root@mailtest ~] nano /etc/yum.repos.d/CentOS-Base.repo

Time to install the YUM repo for Kolab. This part takes a while. It’s about 400MB download plus install.

[root@mailtest ~] rpm -Uvh http://mirror.kolabsys.com/pub/redhat/kolab-3.0/el6/development/i386/kolab-3.0-community-release-6-2.el6.kolab_3.0.noarch.rpm
[root@mailtest ~] yum update
[root@mailtest ~] yum install kolab

To configure Kolab, simply run the setup command and follow the simple prompts

[root@mailtest ~] setup-kolab

Unfortunately during the setup process I came across this.

Kolab Service password [QGY1BN_WZbWIJea]:
Traceback (most recent call last):
  File "/usr/sbin/setup-kolab", line 42, in <module>
    setup.run()
  File "/usr/lib/python2.6/site-packages/pykolab/setup/__init__.py", line 43, in run
    components.execute('_'.join(to_execute))
  File "/usr/lib/python2.6/site-packages/pykolab/setup/components.py", line 170, in execute
    execute(component)
  File "/usr/lib/python2.6/site-packages/pykolab/setup/components.py", line 202, in execute
    components[component_name]['function'](conf.cli_args, kw)
  File "/usr/lib/python2.6/site-packages/pykolab/setup/setup_ldap.py", line 405, in execute
    auth._auth.ldap.add_s(dn, ldif)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 194, in add_s
    msgid = self.add(dn,modlist)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 191, in add
    return self.add_ext(dn,modlist,None,None)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 176, in add_ext
    return self._ldap_call(self._l.add_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 99, in _ldap_call
    result = func(*args,**kwargs)
ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}

Well, that’s the end of that. I spent about 15 minutes searching for a solution to this and even though there were quite a few hits on the “Can’t contact LDAP server” message. I could not find a concrete fix….so much for Kolab. I really hate Linux and the Linux developer mentality sometimes.

2 thoughts on “New Mail Server – The Search

  1. Found your site when searching for info on the Intel Dual node 1U server and then stumbled upon this thread. Save yourself some time and choose zimbra. I’ve already done most of the research for you and its the best available if you want a fully featured mail server. Also, you might want to look into zextras for things like activesync, backups, etc a few other tools. Well worth the small extra investment.

Leave a Reply