1

Topic: Password Scheme for New Users = SSHA512 / Does SHA512 work?

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- 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.
====

was looking through the bash script for creating new users for sql and saw that the password scheme is a salted sha512 hash. I am trying to write a python script to do this and I was wondering if there will be any compatibility issues if i use a sha512 hash instead of the salt. IE if i use this will everything still work fine?

----

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

2

Re: Password Scheme for New Users = SSHA512 / Does SHA512 work?

why don't you just use doveadm?

CRYPT_PASSWD="$(doveadm pw -s 'ssha512' -p ${password})"

3

Re: Password Scheme for New Users = SSHA512 / Does SHA512 work?

All password schemes supported by Dovecot work in iRedMail:
https://doc.dovecot.org/configuration_m … d_schemes/

Note: Not all of them are supported by iRedAdmin(-Pro), which means you cannot create new account with some of the schemes, and you cannot login to iRedAdmin(-Pro) with unsupported schemes.