26

Re: Roundcube Webmail - Encryption function missing

Hi,

After much looking around I've found what the issue(s) are.

As a MariaDB install of Roundcube uses the SQL driver, there are a couple of entries in the 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}";

Maybe devs this should be updated in the install process?

Hope this helps someone.

----

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

27

Re: Roundcube Webmail - Encryption function missing

We use "password_algorithm = dovecot". Please make sure you have correct path to doveadm in parameter "password_dovecotpw".

28 (edited by clarknova 2022-03-15 10:07:12)

Re: Roundcube Webmail - Encryption function missing

ZhangHuangbin wrote:

We use "password_algorithm = dovecot". Please make sure you have correct path to doveadm in parameter "password_dovecotpw".

debian 11
iRedMail 1.5.1 PGSQL

I'm getting the same error when a user tries to change their password. In /opt/www/roundcubemail/plugins/password/config.inc.php I'm seeing:

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

and

$config['password_dovecotpw'] = "/usr/bin/doveadm pw";

The path in the second line is valid. I changed lines 49 and 53 as recommended by cavy and users can now change their password.