1 parent
e194d6ecfd
commit
fcc863e8b8
18 files changed
+334
-306
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user