mirror of
https://github.com/discourse/discourse.git
synced 2025-09-11 21:04:42 +08:00
FIX: Ignore DMARC for emails sent to mailing list mirror
This commit is contained in:
parent
8a6421565e
commit
c88797bf0e
3 changed files with 22 additions and 1 deletions
|
@ -199,7 +199,7 @@ module Email
|
|||
@hidden_reason_id ||=
|
||||
if is_spam?
|
||||
Post.hidden_reasons[:email_spam_header_found]
|
||||
elsif auth_res_action == :hide
|
||||
elsif !sent_to_mailinglist_mirror? && auth_res_action == :hide
|
||||
Post.hidden_reasons[:email_authentication_result_header]
|
||||
else
|
||||
nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue