| @@ -49,7 +49,7 @@ $config['password_db_dsn'] = 'mysql://mailuser:{{ispmail_mysql_mailuser_password | |||||
| // The query can contain the following macros that will be expanded as follows: | // The query can contain the following macros that will be expanded as follows: | ||||
| // %p is replaced with the plaintext new password | // %p is replaced with the plaintext new password | ||||
| // %c is replaced with the crypt version of the new password, MD5 if available | // %c is replaced with the crypt version of the new password, MD5 if available | ||||
| // otherwise DES. More hash function can be enabled using the password_crypt_hash | |||||
| // otherwise DES. More hash function can be enabled using the password_crypt_hash | |||||
| // configuration parameter. | // configuration parameter. | ||||
| // %D is replaced with the dovecotpw-crypted version of the new password | // %D is replaced with the dovecotpw-crypted version of the new password | ||||
| // %o is replaced with the password before the change | // %o is replaced with the password before the change | ||||
| @@ -66,8 +66,8 @@ $config['password_db_dsn'] = 'mysql://mailuser:{{ispmail_mysql_mailuser_password | |||||
| //$config['password_query'] = 'SELECT update_passwd(%D, %u)'; | //$config['password_query'] = 'SELECT update_passwd(%D, %u)'; | ||||
| $config['password_query'] = 'UPDATE virtual_users set password=%D where email=%u'; | $config['password_query'] = 'UPDATE virtual_users set password=%D where email=%u'; | ||||
| // By default the crypt() function which is used to create the '%c' | |||||
| // parameter uses the md5 algorithm. To use different algorithms | |||||
| // By default the crypt() function which is used to create the '%c' | |||||
| // parameter uses the md5 algorithm. To use different algorithms | |||||
| // you can choose between: des, md5, blowfish, sha256, sha512. | // you can choose between: des, md5, blowfish, sha256, sha512. | ||||
| // Before using other hash functions than des or md5 please make sure | // Before using other hash functions than des or md5 please make sure | ||||
| // your operating system supports the other hash functions. | // your operating system supports the other hash functions. | ||||