Segment issue

Hey folks,

I am facing an issue with segments. I have build few segments and intentionally i want to exclude any contacts who have bounced email - unsubscribed email - unsubscribed manual email. In the segment builder i have added the filter as below (WITH OR STAEMENT)

bounced - email equals no
OR
unsubscribed - email equals no
OR
unsubscribed manual - email equals no

However when the segments are built i can still see contacts who have unsubscribed i can see (DNC) icon next to contact name.

I am using mautic version 5.1.1

is this a bug or does anyone know how to solve this ?

Many thanks
Rabii

Not completely sure, but looks like a logical issue:
With that definition someone could be bounced = yes and unsubscribed = no and would be in your segment.

Maybe try to build a segment with

EXLUDED SEGMENT

bounced - email equals yes
OR
unsubscribed - email equals yes
OR
unsubscribed manual - email equals yes

This now includes all contacts, which are in any of the yes states. Now build your segments as desired and add

AND
Segment Membership excluding EXCLUDED SEGMENT

Does this work?