Hi!
Does anyone know if it’s possible to change the default_pass_scheme (without creating my own images)? Mailcow uses SSHA256 and I am migrating from a large Modoboa install where the default is SHA512-CRYPT. Since I don’t know all 1000+ users passwords I’d like to migrate the encrypted passwords.
Regards
You can overwrite the hashes with your SHA512-CRYPT hashes. It will work fine.
New hashes would be replaced by DSHA256 though.
https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/inc/functions.inc.php#L476
diekuh thanks, it does work, a docker restart was all that was needed.
You are right, it should work, but for some reason I can’t get it right. Do I need to update the password through the API or?
Yes, sorry, you need to restart sogo-mailcow to rebuild a view.