Almost done! 1. Setup the database tables: For mysql: mysql -u root -p < /usr/share/webapps/roundcubemail/VERSION/sqlscripts/mysql/VERSION_create.sql DB_NAME 2. Edit the files: db.inc.php and main.inc.php in the config sub-directory of the roundcubemail installation. In order to connect to the database you'll need to change the following line in db.inc.php to look something like this: $rcmail_config['db_dsnw'] = 'mysql://roundcube:roundcube@localhost/roundcube'; 3. Try out your new roundcubemail installation by going to the appropriate URL, depending on where you installed it to and how your web server is set up.