From Mark Furneaux's Wiki
Jump to: navigation, search

Roundcube is a free and open source webmail platform.


Download the latest version from the Roundcube website. Extract this into the desired web server directory and cd into it.

Make the directory accessible by the web server by running:
# chgrp -R www-data ./

Make the temp/ and logs/ directories writeable by running:
$ chmod g+w temp/ logs/

Create a database and matching user for this webmail instance.

Navigate a web browser to: http://<host>/<mail path>/installer

Follow the setup process as instructed. To set SSL and TLS security, prefix the mail host with ssl:// or tls://.

Once the setup is completed, edit config/ and add the following lines:

// Session name.
$config['session_name'] = 'mail_sessid';

// Session authentication cookie name.
$config['session_auth_name'] = 'mail_sessauth';

$config['login_autocomplete'] = 2;

// Enables messages cache. Only 'db' cache is supported.
$config['messages_cache'] = 'db';

$config['message_cache_lifetime'] = '10d';