Am 2014-01-18 12:59, schrieb [email protected]:
I can't get the password plugin to work. When I enter the new
password I only get the message "Could not save new password."

I am using the sql driver with a postgresql db and the doveadm tool.

The problem is that I can't find any explanation anywhere. I checked
all logs in /var/log/roundcube/. I tried debug_level 1, 2, 4 and 8 and
also password_log in the password plugin configuration. I also tried
the SQL UPDATE manually and it works.

Here are the relevant lines of
/etc/roundcube/plugins/password/config.inc.php:
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_confirm_current'] = false;
$rcmail_config['password_minimum_length'] = 4;
$rcmail_config['password_require_nonalpha'] = false;
$rcmail_config['password_log'] = true;
$rcmail_config['password_db_dsn'] =
'pgsql://mailpasswordchanger:thepassword@localhost/mailserver';
$rcmail_config['password_query'] = 'UPDATE virtual_users SET
password=\'%D\' WHERE local=\'%l\' AND domain=\'%d\';';;
 $rcmail_config['password_idn_ascii'] = false;
 $rcmail_config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw';
$rcmail_config['password_dovecotpw_method'] = 'SHA512-CRYPT';
$rcmail_config['password_dovecotpw_with_method'] = true;

It's a debian server with roundcube-0.7.2-9+deb7u1 and dovecot-2.1.7-7

Any idea where I could find some hints?

Can you see a connect in the pgsql server s logfile?

Best regards

Martin
--
Martin Mazur

[email protected]
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to