1

Topic: User based password change (Encryption Function Missing)

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):   1.5.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Rocky 8 current
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
No logs show error that I can find. Shows in browser.

PHP 7.2.24

I've followed the directions on how to correct the Encryption Function Missing by making changes in the plugins/password/config.inc.php to no avail.

However, php-mcrypt no longer exists in php 7.2 onward.

I followed advice here:
https://hostadvice.com/how-to/how-to-in … -centos-8/

Still not functioning.

Any suggestions.

----

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

2

Re: User based password change (Encryption Function Missing)

There might be a php-mcrypt available through REMI version of PHP 7.2. I will be looking into it.

So, if Roundcube uses php-mcrypt for user based password changing, there is an issue going beyond PHP 7.1 and Roundcube functions.




montanelli wrote:

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):   1.5.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Rocky 8 current
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
No logs show error that I can find. Shows in browser.

PHP 7.2.24

I've followed the directions on how to correct the Encryption Function Missing by making changes in the plugins/password/config.inc.php to no avail.

However, php-mcrypt no longer exists in php 7.2 onward.

I followed advice here:
https://hostadvice.com/how-to/how-to-in … -centos-8/

Still not functioning.

Any suggestions.

3

Re: User based password change (Encryption Function Missing)

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

Same here: fresh install, addedd mcrypt php module via pecl, cannot change password with Roundcube without logs, only red alert with "Cannot change password Encryption function missing"

Any ideas?

4

Re: User based password change (Encryption Function Missing)

https://forum.iredmail.org/topic18494-r … ng-p2.html

5

Re: User based password change (Encryption Function Missing)

Ok, setting

$config['password_algorithm'] = "ssha512";
$config['password_algorithm_prefix'] = "{SSHA512}";

in /opt/www/roundcubemail/plugins/password/config.inc.php solved this issue.

Thank you,
C