FEATURE: add SES spam header to recognised spam headers (#8254)

This commit is contained in:
Leo McArdle
2019-10-28 16:46:53 +00:00
committed by Robin Ward
parent 5776251cdd
commit e7ff6809a3
4 changed files with 30 additions and 0 deletions

View File

@ -301,6 +301,8 @@ module Email
@mail[:x_spam_flag].to_s[/YES/i]
when 'X-Spam-Status'
@mail[:x_spam_status].to_s[/^Yes, /i]
when 'X-SES-Spam-Verdict'
@mail[:x_ses_spam_verdict].to_s[/FAIL/i]
else
false
end