Sentora Support Forums

Full Version: Change password in roundcube
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, is there a way to setup sentora in a way that users can change their email password in roundcube ?

Thank you
Right now, it can only be changed through the Panel. But, there is a RoundCube password change addon. You will need to check their site or Google for more info on this.
[google]RoundCube password plugin[/google]

I will also post this as a feature request so we can look into making this an additional feature.
No guarantees though as this is a plugin to roundcube and not a part of its core (which i do not understand why not...)
(11-01-2014, 05:32 AM)TGates Wrote: [ -> ]Right now, it can only be changed through the Panel. But, there is a RoundCube password change addon. You will need to check their site or Google for more info on this.
[google]RoundCube password plugin[/google]

I will also post this as a feature request so we can look into making this an additional feature.
No guarantees though as this is a plugin to roundcube and not a part of its core (which i do not understand why not...)

I need that feature myself and as i see the "RoundCube password change addon" has a plugin system to support various methods. I will work on a plugin to make that work with sentora.

J.
It would be a no-brainer to include a password change option. It's wildly inappropriate to have users ask you for password changes. You shouldn't know people's passwords.
It's also just as easy to make a user group called 'email' and only give it email module permissions. Then the user can log into their panel account and change their own password.
We already have all installed with the current sentora installer to get this feature. After a bit of reading in docs here is all that needs to be done:

in /etc/sentora/configs/roundcube/main.inc.php (row 378) replace:
Code:
$rcmail_config['plugins'] = array('managesieve'); with $rcmail_config['plugins'] = array('managesieve','password');
This turns on the already installed plugin.

in the plugin config file set this values:
/etc/sentora/panel/etc/apps/webmail/plugins/password/config.inc.php

Code:
$rcmail_config['password_driver'] = 'sql'; $rcmail_config['password_confirm_current'] = true; $rcmail_config['password_minimum_length'] = 0;  # <- or set to minimum password length $rcmail_config['password_require_nonalpha'] = false; #<- set to true to only allow more complex passwords $rcmail_config['password_log'] = false; // SQL Driver options $rcmail_config['password_db_dsn'] = 'mysql://postfix:<<insert your real pasword here>>@localhost/sentora_postfix'; // Intended on fleshing this out a bit, but wanted to get something working first $rcmail_config['password_query'] = 'UPDATE mailbox SET password=%D WHERE username=%u'; $rcmail_config['password_idn_ascii'] = false; // Also tried making a shell script called dovecotpw that just passes the arguments on to doveadm pw, no difference $rcmail_config['password_dovecotpw'] = '/usr/bin/doveadm pw'; $rcmail_config['password_dovecotpw_method'] = 'PLAIN-MD5'; $rcmail_config['password_dovecotpw_with_method'] = true;

After those two steps are done every user logged into the webmail system is able to change his/her own password. Menu (Settings) -> Password

This topic could be marked solved :-)
J