Hi All,
New here, so excuse my ignorance. I did try to search the forum, but couldn't find a solution.
I have a setup with postfixadmin as the main table (mysql). I am trying to enable the option for users to change password in roundcube.
In /etc/roundcube/main.inc.php
$rcmail_config = array('password');
$rcmail_config['plugins'] = array('managesieve', 'password');
In /etc/roundcube/plugins/password/config.inc.ph
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://postfixadmin:postfixadminpassword@localhost/postfixadmin';
$rcmail_config['password_query'] = '"UPDATE `mailbox` SET `password`= %c, modified=now() WHERE `username` = %u LIMIT 1"';
The option to change password cow appears in roundcube, however when a user tries to change password, I get this in the /var/log/roundcube/errors
[16-Feb-2015 13:42:06 +0100]: PHP Error: Failed to load config from /var/lib/roundcube/plugins/password/config.inc.php in /usr/share/roundcube/program/lib/Roundcube/rcube_plugin.php on line 121 (POST /roundcube/?_task=settings&_action=plugin.password-save?_task=&_action=)
[16-Feb-2015 13:42:06 +0100]: DB Error: [1305] FUNCTION roundcube.update_passwd does not exist (SQL Query: SELECT update_passwd('$1$dkjnN4z8$JWNwzEC3qP7a6sQ7gIeva/', 'user@local.domain')) in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 417 (POST /roundcube/?_task=settings&_action=plugin.password-save?_task=&_action=)
Can anyone point me in the right direction on how to solve this?