Installing Kerio Connect on Debian 7

Learn how to install Kerio Connect 8.3 on Debian 7 (i386 and x86_64).

  1. On Linux Debian 7, disable exim4 MTA using the following command: sudo apt-get remove exim4-base
  1. Install the support for the international locales using the following command: sudo apt-get install locales-all
  1. Download the deb installation package from the Kerio Connect website and install Kerio Connect using the following command: dpkg -i kerio-connect-8.3.x-xxxx-linux-xxxx.deb

NOTE

Do not forget to replace x-xxx and xxxx with appropriate version numbers.

  1. In your browser, use https://servername:4040/admin to open the Kerio Connect administration and perform the initial configuration. For more information refer to Performing initial configuration in Kerio Connect.
  2. Install missing dependencies if necessary: apt-get update apt-get –f install
  1. Optionally, replace sendmail with the binary from Kerio Connect: sudo mv /usr/sbin/sendmail /usr/sbin/sendmail-old sudo cp /opt/kerio/mailserver/sendmail /usr/sbin/sendmail sudo cp /opt/kerio/mailserver/lib* /lib/

Kerio Connect users can authenticate against PAM with the /etc/pam.d/kerio-connect PAM module.

Example of missing dependencies

The following script suggests that the sysstat dependency is not installed.

root@debian7:~# dpkg -i kerio-connect-8.3.0-2355-b2-linux-amd64.deb
...
dpkg: dependency problems prevent configuration of kerio-connect:
 kerio-connect depends on sysstat; however:
  Package sysstat is not installed.
dpkg: error processing kerio-connect (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 kerio-connect
root@debian7:~# apt-get update
root@debian7:~# apt-get -f install
The following NEW packages will be installed:
  libsensors4 sysstat
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 446 kB of archives.
After this operation, 1,442 kB of additional disk space will be used.
Do you want to continue [Y/n]?
...
Setting up kerio-connect (8.3.0.2355.0.beta2-1) ...
[ ok ] Starting Kerio Connect: Engine .