docs: update MAIL_FORCE_THREAD documentation

This commit is contained in:
ttionya
2025-08-01 19:37:59 +08:00
parent 78d690c182
commit 3426036ede
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -471,9 +471,9 @@ Console showing warnings? Check [issue #177](https://github.com/ttionya/vaultwar
For `MAIL_FORCE_THREAD`, particularly useful when receiving systems fail to properly aggregate messages into conversation threads. It supports three modes of operation:
1. `FALSE`: Default email sending behavior
2. `TRUE`: Auto-generates RFC-compliant Message-ID to force thread creation
3. `Valid Message-ID string`: Uses specified Message-ID to associate with existing thread
1. `FALSE`: Default email sending behavior.
2. `TRUE`: Auto-generates RFC-compliant Message-ID to force thread creation. **Note: Container restarts invalidate thread associations. For persistence, mount the `/mail_parent_message_id` file or set the `MAIL_FORCE_THREAD` environment variable to the generated Message-ID.**
3. `Valid Message-ID string`: Uses specified Message-ID to associate with existing thread. Find it in the original email's Message-ID field.
When enabled, the system automatically adds required headers (`Message-ID`, `References`, `In-Reply-To`) to enforce proper thread association on the receiving end.
+2 -2
View File
@@ -469,8 +469,8 @@ docker run --rm -it \
对于 `MAIL_FORCE_THREAD`,在邮件客户端无法正确将邮件聚合到同一会话中时特别有用。它支持三种操作模式:
1. `FALSE`:默认电子邮件发送行为
2. `TRUE`:自动生成符合 RFC 的 Message-ID 以强制会话关联
3. `有效 Message-ID 字符串`:使用指定的 Message-ID 与现有会话关联
2. `TRUE`:自动生成符合 RFC 的 Message-ID 以强制会话关联。**注意:每次重启容器都会导致会话关联失效。为了持久化保存,可以挂载 `/mail_parent_message_id` 文件或将自动生成的 Message-ID 指定为 `MAIL_FORCE_THREAD` 环境变量的值**
3. `有效 Message-ID 字符串`:使用指定的 Message-ID 与现有会话关联。你可以在原始邮件内容的 Message-ID 字段中找到它
启用后,系统会自动添加所需的标头(`Message-ID``References``In-Reply-To`),以便邮件客户端适当地关联会话。