vmos wrote:
export CRYPT_PASSWD="$(openssl passwd -1 ${DEFAULT_PASSWD})"
If you try it on terminal, you will get a salted MD5 hash.
Addition info about password hashes used in iRedMail:
http://www.iredmail.org/wiki/index.php? … ord.hashes