Roundcube Webmail

From Wiki
Revision as of 11:01, 4 May 2009 by Stocksy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


RoundCube Setup

Decompress the tarball to /var/www/webmail.soandso.tld or something and set permissions

*chown -R root:root /var/www/webmail.soandso.tld
*cd /var/www/webmail.soandso.tld
*chown -R root:www-data logs temp
*chmod -R g+w logs temp

Create a database

*mysql -u root -p -e 'CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;'
*mysql -u root -p -e 'GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY '45lh45lkj';
*mysql -u root -p roundcubemail < SQL/mysql5.initial.sql

Configure it

*cd config

Edit so that it is set thusly:

$rcmail_config['db_dsnw'] = 'mysql://roundcube:45lh45lkj@localhost/roundcubemail';

Make the following changes in

//IMAP server is running on same host - don't cache
$rcmail_config['enable_caching'] = FALSE;
$rcmail_config['default_host'] = 'localhost';
//Sometimes it takes longer than 10 mins to write a message
$rcmail_config['session_lifetime'] = 30;
$rcmail_config['product_name'] = 'Toastputer Webmail';
$rcmail_config['imap_root'] = 'INBOX.';
$rcmail_config['default_imap_folders'] = array('Drafts', 'Sent', 'Junk', 'Trash');
//Default sends data to Google for spell check - NOT ACCEPTABLE!
$rcmail_config['enable_spellcheck'] = FALSE;

Comment out the following line in index.php in the !RoundCube root dir (circumvents this bug):