(07-12-2015, 07:55 PM)Dimenxion Wrote: Hi All,
I know it may be a bit late to post this. But I just successfully enable to change password function in Roundcube and I spotted few things that some new users like me that did not. So I would like to highlight few key things to make it work just to help out others in need
The above guide is working, but whoever that try to apply the changes need to read through as you may need to change some lines . Here what need to be change:
Quote:$rcmail_config['password_db_dsn'] = 'mysql://postfix:<<insert your real pasword here>>@localhost/sentora_postfix';
look at underlined section, over here you need to replace it with your own mysql password for the user 'postfix'
Quote:/etc/sentora/panel/etc/apps/webmail/plugins/password/config.inc.php
Also for this part where the file located, you may encounter the filename as config.inc.php.dist so what you need to do is to rename it to config.inc.php to activate it, or else the function will still disable
NOTE: If you encounter issue something like "decryption not available" you need to check your config line
Quote:$config['password_query'] = 'UPDATE mailbox SET password=%D WHERE username=%u';
By default it uses %D where it means it uses dovecotpw. If you would like to use that, you need to change the dovecotpw path in config.inc.php file to the right path. If you don't have dovecotpw, you can either compile your own or use other options in the config.
That's all! Thanks!
$config['password_query'] = 'UPDATE mailbox SET password=%c WHERE username=%u';
Could not save new password.
message appearing when i change password. How to fix this issue