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

来源:互联网 发布:摩克洁牙膏 淘宝 编辑:程序博客网 时间:2024/06/10 12:58

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

0 0
原创粉丝点击