mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-14 15:49:02 +00:00
Adds a new config entry (EMAIL_SERVER_BLACKLIST, tuple of IPv4 addresses as strings) and an email validator for registering, which will query all the MX records for the domain and reject the registration if any of the A records for any of the MX records are found in the blacklist. If the query fails, the blacklist is ignored; the email is accepted.
5.0 KiB
5.0 KiB