Flexion.Org
Bad grammar and typos for total strangers
Wiki › Round Cube
Wiki Index All Recent Edit Bottom

RoundCube

1.   Introduction
1.1   Install RoundCube
1.2   Configure the Database Settings
1.3   Configure the Main Settings
2.   Tango Icons

Introduction

RoundCube does have a Debian package, however, I have always preferred to install web applications by hand. This assumes you already have a web server up and running with PHP5 and MySQL5 support. It also assume you have a database created using 'utf8_general_ci' collation for the RoundCube data.

Install the RoundCube prerequisites

 apt-get install php5-imap 

Install RoundCube

 wget http://kent.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1-rc2.tar.gz
 tar zxvf roundcubemail-0.1-rc2.tar.gz
 cd roundcubemail-0.1-rc2
 mv * /home/virtual/webmail.example.org/public_html
 cd /home/virtual/webmail.example.org/public_html/
 chown -R www-data:www-data *
 chmod 755 temp logs
 cp config/db.inc.php.dist config/db.inc.php      
 cp config/main.inc.php.dist config/main.inc.php

Configure the Database Settings

Edit the 'config/db.inc.php' file and modify the database connection settings.

 $rcmail_config['db_dsnw'] = 'mysql://databaseuser:databasepassword@localhost/databasename';

Load the database schema

 mysql --user=(databaseuser) -p (databasename) < SQL/mysql5.initial.sql

When prompted, enter the password.

Configure the Main Settings

Edit the 'config/main.inc.php' file and modify the settings listed below.

 // enable caching of messages and mailbox data in the local database.
 // this is recommended if the IMAP server does not run on the same machine
 $rcmail_config['enable_caching'] = FALSE;

 // the mail host chosen to perform the log-in
 // leave blank to show a textbox at login, give a list of hosts
 // to display a pulldown menu or set one host as string.
 // To use SSL connection, enter ssl://hostname:993
 $rcmail_config['default_host'] = 'localhost';

That's it, it should be working.

References

Tango Icons

Download the Tango icon set from the URL below (you need to register to the forums)

Now extract the archive.

 cd /home/virtual/webmail.example.org/public_html/skins/default/images
 unzip /tmp/RealTango.zip

$Id: RoundCube,v 1.5 2008/03/03 12:58:57 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker