From 8aa98b25b5e4d69d1aa61b57df867b91ab16e641 Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Thu, 27 Oct 2022 21:39:54 +0200 Subject: [PATCH] Update configuration of Roundcube password plugin for Roundcube 1.6 --- setup/webmail.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/webmail.sh b/setup/webmail.sh index dee44f4c..e4429adf 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -185,10 +185,9 @@ 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_dovecotpw']='/usr/bin/doveadm pw';" \ - "\$config['password_dovecotpw_method']='SHA512-CRYPT';" \ - "\$config['password_dovecotpw_with_method']=true;" + "\$config['password_query']='UPDATE users SET password=%P WHERE email=%u';" \ + "\$config['password_algorithm']='sha512-crypt';" \ + "\$config['password_algorithm_prefix']='{SHA512-CRYPT}';" # so PHP can use doveadm, for the password changing plugin usermod -a -G dovecot www-data