From 2a5a9343bc15165d86e724f13155bb5c9a3961c8 Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Thu, 27 Oct 2022 21:39:54 +0200 Subject: [PATCH] update configuration of password plugin for roundcube --- setup/webmail.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/webmail.sh b/setup/webmail.sh index 791bda57..6faee129 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -184,7 +184,8 @@ cp ${RCM_PLUGIN_DIR}/password/config.inc.php.dist \ tools/editconf.py ${RCM_PLUGIN_DIR}/password/config.inc.php \ "\$config['password_minimum_length']=8;" \ "\$config['password_db_dsn']='sqlite:///$STORAGE_ROOT/mail/users.sqlite';" \ - "\$config['password_query']='UPDATE users SET password=%D WHERE email=%u';" \ + "\$config['password_query']='UPDATE users SET password=%P WHERE email=%u';" \ + "\$config['password_algorithm'] = 'dovecot';" \ "\$config['password_dovecotpw']='/usr/bin/doveadm pw';" \ "\$config['password_dovecotpw_method']='SHA512-CRYPT';" \ "\$config['password_dovecotpw_with_method']=true;"