1) Download the source from
roundcube.net 2) In the config folder you will find db.inc.php.dist and main.inc.php.dist. Rename both of them to remove .dist (so they now end in .php).
3) Go to netAdmin and create a roundcube database and a user. Don't forget to grant the user access to the database.
4) Using phpmyadmin, create the initial tables (do a sql upload) using the file mysql.initial.sql
5) In db.inc.php modify this line to your databse and user
Code:
$rcmail_config['db_dsnw']='mysql://user:password@localhost/databasename';
6) In main.inc.php make at least the following two changes:
Code:
$rcmail_config['default_host'] = 'localhost';
$rcmail_config['des_key'] = 'change this key';
7) You can make other changes in main.inc.php to your preferences, such as:
Code:
// session lifetime in minutes
$rcmail_config['session_lifetime'] = 30;
// use this format for short date display
$rcmail_config['date_short'] = 'l g:ia';
// use this format for detailed date/time formatting
$rcmail_config['date_long'] = 'm/d/y g:ia';
// use this timezone to display date/time
$rcmail_config['timezone'] = -5;
8) Modify the .htaccess file in the
main directory to comment out (put a # in front), or remove, the first three lines:
Code:
# AddDefaultCharset UTF-8
# php_flag display_errors Off
# php_value upload_max_filesize 2m
You could also just remove that .htaccess file. All it does is block direct access to some internal files.
If you want to change php upload values, do so with a custom php.ini file.
9) Upload, and chmod db.inc.php to chmod 600.
Done.
Hint: If you have a multiSite Plan, create a new site called webmail.domain.com and put roundcube there. Then you have an isolated webmail site.
Remember: This is beta software. It is likely to have bugs.