File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -243,15 +243,22 @@ source: |
243243 )
244244 )
245245 )
246+ // the message is unsolicited and no false positives
246247 and (
247248 not profile.by_sender_email().solicited
248249 or profile.by_sender_email().prevalence == "new"
249250 or (
250251 profile.by_sender_email().any_messages_malicious_or_spam
251252 and not profile.by_sender_email().any_messages_benign
252253 )
254+ or (
255+ profile.by_sender_email().any_messages_malicious_or_spam
256+ and profile.by_sender_email().any_messages_benign
257+ and (
258+ not headers.auth_summary.dmarc.pass or not headers.auth_summary.spf.pass
259+ )
260+ )
253261 )
254- and not profile.by_sender_email().any_messages_benign
255262
256263 // negate replies/fowards containing legitimate docs
257264 and not (
You can’t perform that action at this time.
0 commit comments