feature/v2.8.4 (#277)

1、发件列表不展示bug修复
2、smtps支持587端口
3、发件代码优化
This commit is contained in:
Jinnrry authored and GitHub committed 2025-05-10 09:31:23 +08:00
1 parent e194d6ecfd
commit fcc863e8b8
18 files changed
+334 -306

No files matched your search

+5 -1
View File
@@ -162,7 +162,11 @@ func (s *SpamBlock) ReceiveParseAfter(ctx *context.Context, email *parsemail.Ema
}
if maxClass != 0 && maxScore > s.cfg.Threshold/100 {
email.Status = 5
if maxClass == 2 {
email.Status = 3
} else {
email.Status = 5
}
}
}