# Email domain blacklist with wildcards (revisited)

**URL:** https://meta.discourse.org/t/email-domain-blacklist-with-wildcards-revisited/70088
**Category:** Feature
**Created:** [15 september 2017 om 02:37 UTC](https://meta.discourse.org/t/email-domain-blacklist-with-wildcards-revisited/70088 "2017-09-15T02:37:40Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [20 september 2017 om 09:21 UTC](https://meta.discourse.org/t/email-domain-blacklist-with-wildcards-revisited/70088/6 "2017-09-20T09:21:56Z")

</div>

> [@Email domain blacklist is not consulted when receiving emails (and creating staged users)](https://meta.discourse.org/t/email-domain-blacklist-is-not-consulted-when-receiving-emails-and-creating-staged-users/70424):
>
> File: email/receiver.rb Func: process\_internal When an email is received, Email.Receiver only checks the following: Regexp.new(SiteSetting.ignore\_by\_title) =~ @mail.subject // Blacklisted TOPIC TITLE raise BouncedEmailError if is\_bounce? // Bounce mail raise NoSenderDetectedError if @from\_email.blank? // No From field raise ScreenedEmailError if ScreenedEmail.should\_block?(@from\_email) // Screend Email address After this, a new staged user is created via find\_or\_create\_user. The res…

Created bug report. Hope I got it right. 😁

---

_[View the full topic](https://meta.discourse.org/t/email-domain-blacklist-with-wildcards-revisited/70088)._
