Hi guys,
I followed this guide:
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
My problem is that doesn't work... Can you help me? I'm on Ubuntu 14.04. When I write the old password, the operation is OK. Sorry for my english...
I followed this guide:
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
My problem is that doesn't work... Can you help me? I'm on Ubuntu 14.04. When I write the old password, the operation is OK. Sorry for my english...