Kolab 3.1


  • Correct path to temp according to your vhost:
// $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:
// ...
$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:
// ...
$config['managesieve_port'] = 2000;
// ...


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


  • 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:
// ...
// URL of kolab-chwala installation
$config['kolab_files_url'] = 'https://' . $_SERVER['HTTP_HOST'] . '/chwala/';
// ...


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