feat: smtp3 C++20 重写 + 安全审计修复 (P0×2/P1-2/P2/P3 全部已修复)
- 新增 smtp3: pymsg/TCP :8008 邮件验证码服务 (smtp_v2.py 重写, 零新增依赖) - 审计实证并修复 2 项 P0: SMTP 响应解析颠倒 (发送 100% 失败)、base64 符号扩展 - 修复 P1-2 SIGPIPE、P3-1 日志注入脱敏、P3-3 IPv6、P3-4 模偏差、P3-5 LogC 长连接复用 - 剩余 P1-1 (TLS 证书校验) 与端到端发信验证待 smtp.ini 凭据就绪 - 新增审计报告 docs/security/smtp3_SECURITY_AUDIT_20260809.md 并更新 INDEX
This commit is contained in:
1 parent
6bd0fcaf9b
commit
35e8d747e1
9 files changed
+2199
-2
No files matched your search
@@ -0,0 +1,19 @@
|
||||
[server]
|
||||
host = 127.0.0.1
|
||||
port = 8008
|
||||
workers = 4
|
||||
|
||||
[smtp]
|
||||
server =
|
||||
port = 465
|
||||
user =
|
||||
password =
|
||||
mail_from =
|
||||
code_len = 6
|
||||
code_ttl = 600
|
||||
send_interval = 60
|
||||
max_verify_attempts = 5
|
||||
email_hourly_limit = 3
|
||||
email_daily_limit = 10
|
||||
smtp_hourly_limit = 100
|
||||
default_subject = DNFS 邮箱验证
|
||||
Reference in new issue
Block a user