# Automatically Suppress Contacts Based on ISP or Group Domains in Mautic

**URL:** <https://forum.mautic.org/t/automatically-suppress-contacts-based-on-isp-or-group-domains-in-mautic/35868>\
**Category:** Product Support\
**Tags:** mautic-3, mautic-4\
**Created:** [June 16, 2025, 6:38am UTC](https://forum.mautic.org/t/automatically-suppress-contacts-based-on-isp-or-group-domains-in-mautic/35868 "2025-06-16T06:38:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayank74](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mayank74/32/14098_2.png) [@mayank74](https://forum.mautic.org/u/mayank74)\
**Post date:** [June 16, 2025, 6:38am UTC](https://forum.mautic.org/t/automatically-suppress-contacts-based-on-isp-or-group-domains-in-mautic/35868/1 "2025-06-16T06:38:49Z")

</div>

I’m looking for a way to **automatically detect group domains (like Gmail, Yahoo, Outlook, etc.)** when a contact is added to Mautic, and then **move those contacts to the suppression list** instead of allowing them to receive campaign emails.

### My goal:

- When a new contact is added (via API or any method),
- If their email belongs to an ISP domain (like `@gmail.com`, `@yahoo.com`, etc.),
- They should be **suppressed** automatically (added to the Do Not Contact list or an equivalent suppression mechanism),
- I do **not** want to manually assign them to a suppression segment or manually set the DNC flag.

### What I’m looking for:

- A way to implement this logic using Mautic’s core features, plugins, or events.
- Any examples (campaign, automation, or PHP plugin code) that can help trigger suppression based on domain.
- Advice from anyone who has handled ISP-based filtering or suppression in Mautic.

Thanks in advance for any suggestions or solutions!
