Link to home
Start Free TrialLog in
Avatar of Jean-François Guénet
Jean-François GuénetFlag for Canada

asked on

Exchange 2016 rule that check if a user is member of a group without sending the email to the group

Ive create this exchange 2016 rule but it's not working if we are sending an email only to one person in the group "Support TI"  
If we are sending an email to the group "Support TI" the rule work but that's not what we want

 User generated image
How can i create a rule that check if a user is part of a distribution group without sending an email to the distribution group but to one user IN the distribution group

Thanks for your help
Avatar of timgreen7077
timgreen7077

Under "Do the Following", instead of using Cc the message to... you can use Redirect the message to these recipients, and just select the name of the recipient you want the email to go to, and that way only the single recipient should get the email and not the entire distro.
Avatar of Jean-François Guénet

ASKER

No the "Do the following" is ok

The problem is with the "The recipient is a member of"

If we send the email to the group "Support TI" the rule work
If we send the email to only one user that is part of the group "Support TI" the rule don't work

What we need to do is catch email that are send to a a single user and if the user is part of the group "Support TI" then we do the action

If we check here ( https://docs.microsoft.com/en-us/exchange/policy-and-compliance/mail-flow-rules/conditions-and-exceptions?view=exchserver-2019 )

We saw this:

The recipient is a member of
The recipient > is a member of this group  


Messages that contain recipients who are members of the specified group. The group can be in the To, Cc, or Bcc fields of the message.

The email will not be sent to the group but one user that is part of the group so im not sure if we can do this
ASKER CERTIFIED SOLUTION
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The rule is looking at all the conditions as a whole and then performing the request, so if you send the email to a single member of that group, but not the group itself, then the rule is never applied because you have not met the conditions. You will need to create a new rule if you want the same action, so if you send it to a single use who is a member of that group, but you don't want to send it to the group itself.
Tom Cieslik: you are sending the email to one user inside your group and not the group right ?  Delivery management for the group "Support TI" is set to : Senders inside and outside my organization

Can you show me the rule you've create so i can compare
Yes,
I've sent to myself at my company from Comcast server

My rule is set to check if recipient is a member of distribution group and if body has a specific text, so if is it supposed to deliver to me and CC outside to my contact on gmail

K-Word was TESTOWY on subject

User generated image
GMAIL CC

User generated image
User generated image
Tom Cieslik: ok thanks it's working now

On my group "Support TI"  in Delivery management for the group ive set it back to : Only senders inside my organization

and after ive set it back to : Senders inside and outside my organization

ive restart the Exchange Transport Service and now it's working

Im not sure why i had to restart the service

Thanks for your help !
I had same problem but after I've changed to outside organization I did not restarted service and started working.

I'm glad I was able to help you.