[wp-meta] [Making WordPress.org] #4782: Filter wp_mail() on .org from trying to mail prohibited addresses
Making WordPress.org
noreply at wordpress.org
Mon Oct 28 22:35:10 UTC 2019
#4782: Filter wp_mail() on .org from trying to mail prohibited addresses
---------------------+---------------------
Reporter: Ipstenu | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Resolution:
Keywords: |
---------------------+---------------------
Comment (by dd32):
I've added something in the private repo that does this:
r15456-dotorg:
{{{
Mail: Add an mu-plugin to filter outgoing wp_mail()'s.
This blocks emails to hosts we consider "unsafe" which is a bad term, but
is roughly equal to hostnames we consider spam or who we have mail
deliverability issues to.
A PHP warning will be triggered when this happens for logging /
discoverability purposes.
It'd be nice to add a `Require-Recipient-Valid-Since:` header for
appropriate hosts once we start to store user email change dates.
See https://meta.trac.wordpress.org/ticket/4782
}}}
In addition to #4781 we should also prevent new forum subscriptions for
affected users.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4782#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list