# Exclude certain email sub-domains from automatic group membership

**URL:** https://meta.discourse.org/t/exclude-certain-email-sub-domains-from-automatic-group-membership/86212
**Category:** Feature
**Tags:** groups
**Created:** [April 26, 2018, 11:51am UTC](https://meta.discourse.org/t/exclude-certain-email-sub-domains-from-automatic-group-membership/86212 "2018-04-26T11:51:14Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [June 1, 2018, 12:52pm UTC](https://meta.discourse.org/t/exclude-certain-email-sub-domains-from-automatic-group-membership/86212/6 "2018-06-01T12:52:21Z")

</div>

Sure, I think a PR that adds support for wildcards would be fine.

Search for `automatic_membership_email_domains` in the code if you want to give this a try. It’s used in a couple of files.

---

_[View the full topic](https://meta.discourse.org/t/exclude-certain-email-sub-domains-from-automatic-group-membership/86212)._
