fix(mail): 统一邮箱查询的大小写与别名匹配

- 将 Postfix/Dovecot 的 SQL 查询改为忽略大小写匹配,减少地址大小写导致的投递失败。
- 支持带 `+` 的详细地址解析,并基于域表关联定位邮箱目录。
- 启用 `lda_mailbox_autocreate`,确保投递到详细邮箱时可自动创建邮箱目录。
This commit is contained in:
LanQin_
2026-06-17 14:15:03 +08:00
parent 095d3ad247
commit 6ebbb47012
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -69,5 +69,6 @@ service auth {
protocol lmtp {
postmaster_address = postmaster@localhost
recipient_delimiter = +
lda_mailbox_autocreate = yes
lmtp_save_to_detail_mailbox = yes
}