1

Topic: User can't change password due to encryption function missing

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Red Hat Enterprise Linux release 8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Could not save new password.
Encryption function missing.

Post's attachments

Screenshot_1.jpg
Screenshot_1.jpg 8.3 kb, 1 downloads since 2024-03-01 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: User can't change password due to encryption function missing

What's the current password_algorithm and method defined in /opt/www/roundcubemail/plugins/password/config.inc.php?

password_query
password_algorithm
password_algorithm_prefix
password_dovecotpw_method
password_dovecotpw_with_method

3

Re: User can't change password due to encryption function missing

I found these in the config.inc.php.

$config['password_query'] = "UPDATE mailbox SET password=%P,passwordlastchange=NOW() WHERE username=%u";
$config['password_algorithm'] = "dovecot";
$config['password_algorithm_prefix'] = "dovecot";
$config['password_dovecotpw_method'] = "SSHA512";
$config['password_dovecotpw_with_method'] = true;

4

Re: User can't change password due to encryption function missing

$config['password_algorithm'] = "dovecot";

5 (edited by mmwidz 2024-03-07 18:36:09)

Re: User can't change password due to encryption function missing

this issue is resolved.

config.inc.php for roundcube that need to be updated.

1.
Default entry - $config['password_algorithm'] = "dovecot";
Should be - $config['password_algorithm'] = "ssha512";

2.
Default entry - $config['password_algorithm_prefix'] = "dovecot";
Should be - $config['password_algorithm_prefix'] = "{SSHA512}";