Cool Solution - Kerio Connect

From Univention Wiki

Revision as of 16:08, 21 January 2014 by Smidt (talk | contribs)
Jump to: navigation, search

This article is stub and will be updated!!!

This article describes briefly the installation and configuration of Kerio Connect under UCS 3.2. Setting: Master: - Desktop - DHCP - Samba 4 Backup: - Desktop

Login & Download

Login on the backup server:

ssh root@backupserver

Download the kerio connect software. For Debian and Ubuntu (64-bit) you can use:

wget http://download.kerio.com/dwn/connect/connect-8.2.2-2224/kerio-connect-8.2.2-2224-linux-amd64.deb

You can search for other applicable packages at Kerio download page.

Install

Before installing check if there are any other mail server running (eg. postfix or sendmail):

/etc/init.d/postfix status

If this is the case stop them with:

/etc/init.d/postfix stop

And disable the autostart:

ucr set postfix/autostart=no

After that install the downloaded package with:

dpkg -i kerio-connect-8.2.2-2224-linux-amd64.deb

If the basic setup screen doesn't show up you have to start it manually with:

cd /opt/kerio/mailserver         
dpkg-reconfigure kerio-connect

Configure

Stop Kerio Connect with:

/etc/init.d/kerio-connect stop

Change LDAP-Ports 389 & 636 to 7389 & 7636 in:

/opt/kerio/mailserver/mailserver.cfg

Afterwards start Kerio Connect with:

/etc/init.d/kerio-connect start

On the backup login at:

localhost:4040/admin

Choose Configuration -> Domains -> YourDomain -> Edit -> Directory Service Check "Map user accounts and groups from a directory service to this domain" Choose Apple Open Directory (Kerberos 5 authentication) as Directory service type In the Directory server (domain controller) section choose:

Hostname: localhost:7389
Username: DN
Password: xxxxx

and "Test Connection". ownpa

Troubleshooting:

If you get an "Package not found error" like:

dpkg: Abhängigkeitsprobleme verhindern Konfiguration von kerio-connect:
kerio-connect hängt ab von sysstat; aber:
Paket sysstat ist nicht installiert.
dpkg: Fehler beim Bearbeiten von kerio-connect (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
kerio-connect

Use:

univention-install packagename

Maybe it is also necessary to activate "unmaintained repositories" with:

ucr set repository/online/unmaintained='yes'

LDAP-Connection Problems can be tested with: ldapsearch -x -H ldap://localhost:7389 -D dn -w password


source: http://www.asconix.com/howtos/debian/kerio-connect-univention-ucs-howto http://kb.kerio.com/product/kerio-connect/installation-and-upgrade/installing-kerio-connect-1124.html

Personal tools