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中四种密码加密方式,并推荐使用SHA256哈希算法来提高安全性。同时提供了如何修改加密算法的具体步骤。
834

被折叠的 条评论
为什么被折叠?



