Round Cube

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.
Installing
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:
Then Add the following to a new repo file: /etc/yum.repos.d/utterramblings.repo
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Then just update your php to pull it from the new repository:
RoundCube also relies on some PHP modules that may not be present.
To install them:
# yum install php-xml
# yum install php-mcrypt
# yum install php-gd
Make sure to restart apache for all changes to become visible:
Once you're done, download the latest stable release of RoundCube and untar it in your web server's root:
# 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:
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
quit
Then create the database schema:
Open your browser and then point to the installer: http://example.com/installer/ Just follow the instructions on screen.
All these instructions are available on the RoundCube website: http://trac.roundcube.net/wiki/Howto_Install
Resources
< ClamAV | EmailServer | Firewall >