Search Site:








Edit - To Do - AllRecentChanges

Recent Changes Printable View Page History Edit Page

This page is part of the EmailServer article.

RoundCube webmail interface

In my previous versions I used SquirrelMail as the web based mail access for roaming users.

Squirrelmail is mature and has lots of nice features but users tend to look down on it because it's ugly and looks and feels antiquated.

As a replacement, RoundCube looks promising: it does what it's supposed to (handle email), has a nice interface , is in active development and has a good user base and community.


You'll need to make sure you have a recent version of PHP installed. CentOS 5.2 comes with an older version and to update to the minimum required I had to update it through unofficial packages.
Fortunately, there is a good repository from Jason Litka and to add it to our list of repositories is simple:

# rpm --import

Then Add the following to a new repo file: /etc/yum.repos.d/utterramblings.repo

name=Jason's Utter Ramblings Repo

Then just update your php to pull it from the new repository:

# yum update php

RoundCube also relies on some PHP modules that may not be present.
To install them:

# yum install php-pecl-Fileinfo
# yum install php-xml
# yum install php-mcrypt
# yum install php-gd

Make sure to restart apache for all changes to become visible:

# service httpd restart

Once you're done, download the latest stable release of RoundCube and untar it in your web server's root:

# cd /www
# tar xzvf roundcubemail-0.2.1.tar.gz
# mv roundcubemail-0.2.1.tar.gz webmail
# chown apache.apache -R webmail

You can use Postgre, MySQL or SQLite as a back-end database. For MySQL, just add a new database and create a new user:

CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password';

Then create the database schema:

# mysql roundcubemail < SQL/mysql.initial.sql

Open your browser and then point to the installer: Just follow the instructions on screen.

All these instructions are available on the RoundCube website:


< ClamAV | EmailServer | Firewall >

Leave your comments below
Enter your comment (no links allowed): Author:

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - Search - RSS -
Page last modified on Thursday 23 April 2009, at 03:23 GMT+8 - Viewed 2738 times