This page is part of the EmailServer article. RoundCube webmail interfaceIn 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. InstallingYou'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. # rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka Then Add the following to a new repo file: /etc/yum.repos.d/utterramblings.repo [utterramblings] 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: # yum update php RoundCube also relies on some PHP modules that may not be present. # 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'; FLUSH PRIVILEGES; quit Then create the database schema: # mysql roundcubemail < SQL/mysql.initial.sql 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 > Leave your comments below |