SQLite

A SQLite DB will be created automatically by Roundcube. Ensure the file specified in the configuration is located in a basedir location. Consider adding /var/lib/roundcubemail to your basedir definition. This implies creating the directory and chowning it to http.

Other Databases

Roundcubemail has installation scripts for mssql, Oracle, and PostgreSQL.

Roundcube

Copy the example configuration file and adjust it to your configuration:

If you are not using Apache, check the information available in /etc/webapps/roundcubemail/config/defaults.inc.php .

PHP

Make sure to adjust following variables to these minimal values in your PHP configuration:

/etc/php/php.ini

date.timezone = "UTC"

and uncomment

extension=iconv

If you have configured open_basedir in php.ini, make sure it includes /etc/webapps and /usr/share/webapps, so PHP can open the required Roundcube files. If open_basedir is disabled/commented out (the default setting), you don't have to do anything.

Webserver (Apache)

Copy the configuration file for Apache to its configuration directory:

Webserver (Nginx)

Warning: This is an example configuration of RoundCube running in an subdirectory of the web root and has been compiled based on experiments with information from multiple sources, proceed with caution

Note: This assumes you already have a working nginx server setup with php-fpm.

Tips and tricks

Setting Roundcube up for use with an IMAP/SMTP server that only allows TLS authentication

It is quite common for modern IMAP/SMTP servers to only allow encrypted authentication, say using STARTTLS. If you are setting Roundcube up for TLS authentication, the web-based installer won't help you. You will need to edit the /etc/webapps/roundcubemail/config/config.inc.php by hand, adding the following lines:

where mail.my_domain.org is the CN host name in your SSL certificate (i.e. the hostname of your IMAP server), and /etc/ssl/certs/Your_CA_certificate.pem is the path to your SSL certificate. You might need to adjust the ciphers element to correspond to the ciphers allowed by your IMAP server.

Sabre\VObject\Property\Text Not Found

Enable the Plugin

/etc/webapps/roundcubemail/config/config.inc.php

$config['plugins'] = array(
'calendar'
);

Synchronize address book with CardDav contacts

It's useful to use the Roundcube address book to have auto-completion features for address fields etc. If you have your contacts stored somewhere else and the remote application offers a CardDav server for synchronization, then you can use the roundcube-rcmcarddavAUR extension from the AUR to access your remote address book in Roundcube. To enable it, adjust following lines in your config file: