RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 890 forks source link

postfixadmin-change-password plugin: Plugin changes the password directly in MYSQL, but wrong encryption? #2168

Open bigsneip opened 2 years ago

bigsneip commented 2 years ago

Using RainLoop version 1.16.0, Hmailserver 5.6.8, Windows, MySQL 8.0.28

The plugin has access to change the password directly in MySQL database for hmailserver, and I have confirmed that password is changing, but I think it's the wrong encryption. I am unable to login after changing the password. I've tried every encryption method in postfixadmin, even tried to change PreferredHashAlgorithm to clear text in hMailServer.INI and cleartext in postadmin plugin. Any ideas what is missing, what I'm doing wrong, or how to fix this?

Thanks in advance.

postfixadmin plugin mysql

the-djmaze commented 2 years ago

postfix != Hmailserver You probably need a Blowfish script with the encrypt key or SHA256 with salt. Check your PreferredHashAlgorithm setting