# Email domain blacklist is not consulted when receiving emails (and creating staged users)

**URL:** <https://meta.discourse.org/t/email-domain-blacklist-is-not-consulted-when-receiving-emails-and-creating-staged-users/70424>\
**Category:** Bug\
**Created:** [September 20, 2017, 9:20am UTC](https://meta.discourse.org/t/email-domain-blacklist-is-not-consulted-when-receiving-emails-and-creating-staged-users/70424 "2017-09-20T09:20:44Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [October 3, 2017, 3:24pm UTC](https://meta.discourse.org/t/email-domain-blacklist-is-not-consulted-when-receiving-emails-and-creating-staged-users/70424/7 "2017-10-03T15:24:32Z")

</div>

Looks like @gerhard actually committed the fixes. This should prevent staged user creation when the email domain is blacklisted:  
[https://github.com/discourse/discourse/commit/7f50380221f4a77bec7dfedc141ef99213de9438](https://github.com/discourse/discourse/commit/7f50380221f4a77bec7dfedc141ef99213de9438)

We also will no longer staged accounts if the email was rejected:  
[https://github.com/discourse/discourse/commit/76706f91447de810f6aa3b618a2f5fe8c0924b4b](https://github.com/discourse/discourse/commit/76706f91447de810f6aa3b618a2f5fe8c0924b4b)

---

_[View the full topic](https://meta.discourse.org/t/email-domain-blacklist-is-not-consulted-when-receiving-emails-and-creating-staged-users/70424)._
