# How to filter "do not contact" contacts?

**URL:** <https://forum.mautic.org/t/how-to-filter-do-not-contact-contacts/18526>\
**Category:** Product Support\
**Tags:** development, discussion, community\
**Created:** [March 11, 2021, 8:18am UTC](https://forum.mautic.org/t/how-to-filter-do-not-contact-contacts/18526 "2021-03-11T08:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kastreak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kastreak/32/487_2.png) [@kastreak](https://forum.mautic.org/u/kastreak)\
**Post date:** [March 11, 2021, 8:18am UTC](https://forum.mautic.org/t/how-to-filter-do-not-contact-contacts/18526/1 "2021-03-11T08:18:42Z")

</div>

**Your software**  
My Mautic version is: 3.2.2  
My PHP version is: 7.4.3  
My Database type and version is:

**Your problem**  
My problem is: I need to filter “do not contact” contacts, who unsubscribed from “email” channel and add them to a specific segment, how do I do that?

These errors are showing in the log:

Steps I have tried to fix the problem: I’ve tried to create a segment and add the following filters to it “Unsubscribed - email” or “Unsubscribed manually email” or “Bounced”, but the segment just keeps being empty

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [March 11, 2021, 8:27pm UTC](https://forum.mautic.org/t/how-to-filter-do-not-contact-contacts/18526/2 "2021-03-11T20:27:57Z")

</div>

are you running **mautic:segments:update** command via ssh or via cron job?
