Commit Graph

20 Commits

Author SHA1 Message Date
9b19268c00 继续收敛邮件策略读取运行时快照
Some checks are pending
Security Checks / security (push) Waiting to run
2026-08-31 00:34:30 +08:00
51767b9f5b 完成安全整改与认证功能重构 2026-08-27 21:51:51 +08:00
e91a64136b 重命名项目并补充插件与安全整改文档 2026-08-24 15:27:19 +08:00
Cd1s
23c2fbbdd5
fix: generate Message-ID once and persist to DB (#328)
Previously, a random suffix was generated every time BuildBytes or
ForwardBuildBytes was called, causing IMAP/POP3 clients to treat the
same message as a new message on every sync and breaking conversation
threading.

Changes:
- Add msg_id column to the email table (synced automatically via Sync2)
- Generate a crypto/rand-based RFC-compliant Message-ID once at email
  creation time (send.go for outgoing, read_content.go for incoming)
- Preserve the original Message-ID from externally received emails
- Load the persisted MsgID when rebuilding Email from DB records
- Use the stored MsgID in BuildBytes, ForwardBuildBytes and the IMAP
  ENVELOPE response; fall back to the old numeric format for legacy rows

Fixes the MSGID_SHORT SpamAssassin penalty and Gmail rejection while
keeping Message-IDs stable across syncs.

Co-authored-by: root <root@Claw-ai.tail1478c.ts.net>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 11:43:59 +08:00
Jinnrry
6697d2b229
feature/v2.7.5 (#221)
* feature/v2.7.5 

1、非管理员修改昵称报错修复
2、IOS“邮件”客户端展示错误修复。
2024-11-03 15:28:18 +08:00
Jinnrry
2bf2635a40
v2.6.3 (#187)
1、支持发件昵称修改
2、垃圾邮箱识别增加英文数据集
2024-08-11 15:24:54 +08:00
Jinnrry
054336fe9e
v2.6.1 (#169)
1、新增垃圾邮件过滤插件
2、使用使用github.com/dlclark/regexp2替换go原生的正则包
3、修复空数据导致的邮件插入失败
2024-07-20 10:39:17 +08:00
Jinnrry
9ffbdf41c3
v2.6.0 (#14) (#155)
1、支持多域名
2、支持PostgreSQL数据库
3、更新全部依赖
4、支持垃圾箱邮件删除

Co-authored-by: jinnrry <i@jinnrry.com>
2024-07-14 09:42:43 +08:00
Jinnrry
4c22035819
V2.5.2 (#145)
* 移除自动DNS记录验证方式

* v2.5.2 (#13)

1、重写SSL证书申请逻辑,支持DNS记录验证方式
2、修复无法查看详情的bug
3、优化手动设置证书的逻辑
4、发送失败邮件添加错误提醒
5、补充详情接口的单元测试

Co-authored-by: jinnrry <jinnrry@users.noreply.github.com>
Reviewed-on: http://192.168.123.5/jinnrry/PMail_Github/pulls/13

---------

Co-authored-by: jinnrry <jinnrry@users.noreply.github.com>
Co-authored-by: jinnrry <i@jinnrry.com>
2024-07-06 12:54:58 +08:00
Jinnrry
01cbdc9875
V2.5.0 (#132)
支持多用户
支持SSL证书支持DNS验证
增加mysql测试用例
修复DNS设置时的展示歧义
2024-07-02 21:02:00 +08:00
jinnrry
7a3d056e77 v2.4.6
1、优化初始化设置时的操作说明
2、发件人和发件时间修复
3、发件空指针异常修复
2024-04-27 12:51:59 +08:00
jinnrry
d7fe9ba1a1 bug fix
修复并非写map造成的panic
2024-04-20 09:10:13 +08:00
jinnrry
004fc91586 fix 2024-03-04 11:47:28 +08:00
Jinnrry
20f3590a04
V2.4.0 (#89)
* 插件架构改造

* v2.4.0
2024-03-01 19:10:56 +08:00
jinnrry
b78bf619d8 RFC 5322 添加MessageId 2023-11-22 19:33:22 +08:00
木木的木头
f4689d073c v2.2.0 2023-09-08 02:11:00 +08:00
jinnrry
cbfbebd7e1 v2.1.2
修复协程调度顺序错误
2023-08-30 19:15:15 +08:00
jinnrry
12a79d9591 v2.1.2
修复协程调度顺序错误
2023-08-30 17:51:29 +08:00
jinnrry
c0f12558b5 init 2023-08-06 09:33:51 +08:00
jinnrry
494940afc9 first commit 2023-07-30 17:59:25 +08:00