1

Topic: how can i edit script create_mail_user_SQL.sh for ssha?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu14.04.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):Mysql
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Script named create_mail_user_SQL.sh crypts passwords in md5.
How can i change it ssha?

----

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

2

Re: how can i edit script create_mail_user_SQL.sh for ssha?

I updated script 'tools/create_mail_user_SQL.sh' moment ago, you can download it and override the one in iRedMail-0.9.2, then open this file and change 'PASSWORD_SCHEME=' to 'SSHA':
https://bitbucket.org/zhb/iredmail/src/ … at=default

Easier now, right?

P.S. Default password scheme is SSHA512, stronger than SSHA. i suggest you go SSHA512.