修复邮件解析和密送隐私泄露
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-06 05:40:33 +08:00
1 parent bf2d7b6e2d
commit 4769aad8e5
3 files changed
+28 -10

No files matched your search

-4
View File
@@ -8,7 +8,6 @@ import (
"encoding/pem"
"fmt"
"git.pcux.cn/xuans/Smail/config"
"git.pcux.cn/xuans/Smail/utils/consts"
"git.pcux.cn/xuans/Smail/utils/context"
securefile "git.pcux.cn/xuans/Smail/utils/file"
"github.com/emersion/go-msgauth/dkim"
@@ -132,9 +131,6 @@ func Check(ctx *context.Context, mail io.Reader) bool {
}
for _, v := range verifications {
if v.Domain == consts.TEST_DOMAIN {
return true
}
if v.Err == nil {
log.Println("Valid signature for:", v.Domain)
} else {