# 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:** [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:** 3

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [26 באפריל,‏ 2018,‏ 12:18pm UTC](https://meta.discourse.org/t/exclude-certain-email-sub-domains-from-automatic-group-membership/86212/3 "2018-04-26T12:18:50Z")

</div>

> [@gerhard](#):
>
> It already works that way.

Ah, okay, then my assumption was wrong. But then my issue is another one: I need some sort of catch-all for `*.uni.edu` because it is impossible to predict the exact sub-domain of an employees email-address. Some have `uni.edu`, but many have various subdomains like `sociology.uni.edu`, depending on their departmental affiliation or what they chose as their main affiliation or whatever other determinants there may be.

Is there any way to catch all of these without being able to provide a full list of all possible sub-domains?

---

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