Forgot your password?
Sign up
Changing password
*New password
*Check password
Info Help
How to enable the plugin "Password" on Roundcube
01/20/2016 13:03

In this article we are going to teach you how to enable the plugin Password in the Roundcube settings.

If you are using Ubuntu you can install the Password plugin with the following command:

apt-get install -y roundcube-plugins-extra roundcube-plugins

If you are using another operating system you can download the Password plugin from the Roundcube website and save it in the folder /usr/share/roundcube/plugins/.

Let's configure the plugin, so it can talk with your mail server database.

First we need to edit the plugin configuration file.

If the file /usr/share/roundcube/plugins/password/ does not exists yet, you can use the default configuration file "" to create a new one with the command below:

copy /usr/share/roundcube/plugins/password/  /usr/share/roundcube/plugins/password/

To start editing the configuration file use the command below:

vim /usr/share/roundcube/plugins/password/

You need to set some parameters as showed below:

$config['password_driver'] = 'sql';

$config['password_confirm_current'] = true;

$config['password_minimum_length'] = 5;

$config['password_db_dsn'] = 'mysql://';

$config['password_query'] = 'UPDATE Email SET password = %p WHERE emailAddress = %u';

You need to pay attention in the last two lines. In this two lines you need to put the address that the plugin will use to connect to the mail server database and the query that will be executed to update the password. The parameters %p and %u are the new password and the user email address, respectively.

Now, we just need to enable the plugin password in the Roundcube settings file. To do that, you need to edit the file 


vim /var/lib/roundcube/config/

Look for the text $config['plugins'] and add the text password as one of the parameters of the array.


// List of active plugins (in plugins/ directory)

$config['plugins'] = array(



Now, you just need to check if everything is working in the Roundcube interface.

If you don't know how the password plugin work's, the following article explains everything.
How to change your password in Roundcube (Webmail)

Spread the word