Kolab 3.1

Roundcube

  • Correct path to temp according to your vhost:
/var/www/localhost/htdocs/roundcube/config/main.inc.php
// $rcmail_config['temp_dir'] = '/var/lib/roundcubemail/';
$config['temp_dir'] = '/var/www/localhost/htdocs/roundcube/temp/';
  • Run Roundcube's installer http://localhost/roundcube/installer to update config scripts and check for errors.
  • If you use SSL, some Kolab API calls from within PHP using Pear::HTTP2_Request might fail because PHP doesn't know about your SSL CA certificates. By adding the following Roundcube option, it will be passed to HTTP2_Request configuration and SSL works also for the API requests with ssl_verify_pear enabled:
/var/www/kolab/htdocs/roundcube/config/main.inc.php
// ...
$config["ssl_capath"] = "/etc/ssl/certs/";
// ...

PHP's lack of SSL default values seem's to be a known issue but just nobody cares about: https://bugs.php.net/bug.php?id=62050

  • Correct port for sieve service:
/usr/share/kolab-roundcube/plugins/managesieve/config.inc.php
// ...
$config['managesieve_port'] = 2000;
// ...

Amavis/ClamAV

  • Correct incorrect socket path for ClamAV daemon in Amavis configuration and set it to the following:
/etc/amavisd.conf
['ClamAV-clamd',
  \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],
  qr/\bOK$/m, qr/\bFOUND$/m,
  qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],

Roundcube/Chwala

  • By default Roundcube is configued to use the Chwala API via HTTP. To make Roundcube using HTTPS, set the appropriate Chwala URL in /etc/kolab-roundcube/kolab_files.inc.php:
/etc/kolab-roundcube/kolab_files.inc.php
// ...
// URL of kolab-chwala installation
$config['kolab_files_url'] = 'https://' . $_SERVER['HTTP_HOST'] . '/chwala/';
// ...

Amavisd

  • Amavisd seems to expect the rundir /run/amavisd to be writable for user “amavis”:
$ mkdir /run/amavisd
$ chown amavis:amavis /run/amavisd