chore(deploy): 统一初始化 Dovecot 认证策略随机数
- 在部署入口脚本中生成并持久化 `auth_policy_hash_nonce`,避免每次启动变更。 - 同步更新 Dovecot 配置项为 `auth_policy_request_attributes`,并注入随机数值。
This commit is contained in:
@@ -23,7 +23,8 @@ auth_policy_server_url = http://127.0.0.1:8080/auth-policy
|
||||
auth_policy_server_api_header = Content-Type: application/json
|
||||
auth_policy_hash_mech = sha256
|
||||
auth_policy_hash_truncate = 12
|
||||
auth_policy_request_fields = protocol=imap username=user
|
||||
auth_policy_hash_nonce = __LANQIN_AUTH_POLICY_HASH_NONCE__
|
||||
auth_policy_request_attributes = protocol=imap username=user
|
||||
|
||||
namespace inbox {
|
||||
inbox = yes
|
||||
|
||||
Reference in New Issue
Block a user