Roundcube “…is a browser-based multilingual IMAP client with an application-like user interface.” In my previous post, I’ve described how to install postfix and dovecot, so if you want to check your e-mail using your browser, Roundcube is a very good choice.
First, download the tarbal, extract it under your Apache www folder and create the database.
mysql -u root -p
CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; > GRANT ALL PRIVILEGES ON roundcubemail.* TO [email protected] IDENTIFIED BY 'password'; > quit
where ‘password’ is the password that you want to use for the roundcube user.
Change the directory to config and make copies of these two configuration files.
cp db.inc.php.dist db.inc.php cp main.inc.php.dist main.inc.php
Edit main.inc.php and change $rcmail_config[‘enable_installer’] = false; to true.
Edit db.inc.php and put the password that you just created for the roundcube user.
Access the roundcube install by going to the actual page of the installer page. In my case, I use http://webmail.myserver.org/installer.
You’ll see something like this.
In my case I had to install some php modules.
yum install php-xml yum install php-mcrypt yum install php-intl service httpd restart
I also had to change date.timezone in /etc/php.ini to America/New_York.
Do an initial test from the same page. Make sure everything is OK.
Finally, remove the installer directory.
rm -Rf installer
and change $rcmail_config[‘enable_installer’] = true; back to false in main.inc.php.
Now, go to http://webmail.myserver.org/installer and enter your credentials. You’ll notice that the default page prompts for a server. You can enter ‘localhost’ for the server, or just change $rcmail_config[‘default_host’] = ‘locahost’; in main.inc.php, so you won’t be prompted again.