Roundcube is a web-based IMAP email client written in PHP. Roundcube’s most prominent feature is the pervasive use of Ajax technology to present a more fluid and responsive user interface than the one of traditional webmail clients. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching, spell checking etc…

As usual, before proceeding any further, SSH to your CentOS 6 VPS, fire-up a screen session and make sure your system is fully up-to-date by running:

There are still other parts missing such as SSL encrypted connection, anti-spam service, digital signatures using opendkim, filter rules etc for a full-featured mail server. In the next few related articles, we will be adding additional features to the set-up so stay tuned.

You need to be inside your ‘/var/www/html/’ directory and execute the command, but without the two ‘##’ at the beginning. The command should be:

mysql -u roundcube -p”mySecretPassword” roundcube < roundcube/SQL/mysql.initial.sql
Where 'mySecretPassword' is the password you chose when creating the database. Please clarify your question further if this answer was not clear enough or maybe misleading.

I’ve just followed the above steps, but I got one error at the end. When I access via a web browser, it say that “DATABASE ERROR: CONNECTION FAILED!” Unable to connect to the database!
I tried to check and reconfigured it again, but the problem still exist.

Can anyone help out in setting up a LAN based mail server using Roundcube?
I’m a newbie,so dont be too hard on me. I need well defined instructions to set up a local mail server that works only within LAN and my machine being the mail server. I havent had much luck in finding out documentation on how to go on about this. Thanks

I have just completed the second part of the article. installed and configured Roundcube in my Centos6 VBox. I can open xxx.xxx.xxx.xxx:webmail from my host machine running Windows7. My problems are:
1> cannot login to roundcube webmail portal
2> cannot configure the account in Outlook as its showing error in POP3 and SMTP erro.
(as the article mentioned in the first part to configure the mail in any preferred client, so i tried to do that, but its not working. But i can connect to pop3 and smtp through when im connected to my centos6 Vbox using putty).

2. How did you configure your Outlook email account?
If you want to create and use POP3 email accounts, use the following settings:
Incoming mail server:
Port: 110 (POP3) or 995 (POP3S)
Outgoing (SMTP) server:
Port: 25 or 587
If you want to create an IMAP email account, use the following settings:
Incoming mail server:
Port: 143 (IMAP) or 993 (IMAPS)
Outgoing (SMTP) server:
Port: 25 or 587

I want to change password of email id from roundcube plugins. I am using roundcube 1.1.1.
To activate password plugins:- open /var/www/html/roundcube/config/config.inc.php and change $config[‘plugins’] =arrary() to $config[‘plugins’] =arrary(password);

Then rename /var/www/html/roundcube/program/plugins/password/config.inc.php.dist. to config.inc.php. Then password option shown in the roundcube webmail. But it is not work.

There are lots of driver available . But which driver is suitable for this kind mail configuration and configuration process. I want , mail user should able to change password himself. If it is not possible, then please suggest alternative good solution.
Please help me to solve this problem.

I am using roundcube 1.1.1. I want to activate password in roundcube.
I have change in /var/www/html/roundcube/config/config.inc.php
#$config[‘plugins’] = array ();
$config[‘plugins’] = array (password);
Then go to # cd /var/www/html/roundcube/plugins/password
#rm config.inc.php.dist config.inc.php
After that I have checked that password option is activated in roundcube webmail.
But it is not working. I also configure SSL, it works fine.
But in the plugging, there are several drivers for change password.
In the part I, this website configure mail passwd /etc/dovecot/password file.
And also use # doveadm pw -s sha1 | cut -d ‘}’ -f2 for password creation form centos os.
But which drive is best for change passwod In roundcube and how I can do it. I don’t understand.
Please help me,,, If anyone help me , I will grateful.