您的位置:首页 > 大数据 > 人工智能

hmailserver设置用户账户密码加密类型

2016-09-21 15:11 197 查看
hmailserver针对新建到域里的账户有4种加密方式,分别为:

0 - None. Store passwords in clear text. This is not recommended.
1 - Blowfish. Store passwords encrypted using Blowfish. This is not recommended, since the password used for encryption is known. Hence, this is no more safe than option 0.
2 - MD5. Store passwords in MD5 hash. This is only recommended to preserve backwards compatibility if you have application which integrates with the hMailServer database.
3 - SHA256 - Store passwords in SHA256 hashes. This is currently the recommended option which gives the highest level of security.

而第三种,是官方默认和推荐的。

由于某些原因,需要改变用户密码的加密算法,则需要新加以下参数(红色)到hmailserver.ini中更改完毕重启服务即可

[Database]

Type=MYSQL

Username=root

Password=bf28e0745411a083

PasswordEncryption=1

Port=3306

Server=127.0.0.1

Database=hmail

Internal=0
[Settings]

PreferredHashAlgorithm=2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  hmailserver