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

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

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值