Forum Discussion
Graeme Lee
Mar 07, 2018Copper Contributor
reject emails to 2 recipients
Hi,
I want to set a Exchange server rule so that anyone that sends and email to address1 AND address2 in the To: field can be rejected. They should be able to send individually to address1 OR a...
- Mar 07, 2018I'm not sure why you have created 6 rules.
Just to be clear about my idea I will attach a screenshot.
So, for example:
A@contoso.com
B@contoso.com
C@contoso.com
Security groups:
Sec1@contoso.com = a+b
Sec2@contoso.com = a+c
Sec3@contoso.com = b+c
Rules:
1) to: c + any member of sec1
2) to: b + any member of sec2
3) to: a + any member of sec3
I look forward to hearing from you.
Ricardo Viana
Mar 07, 2018Steel Contributor
Hi Graeme,
I would create a security group hidden from GAL and add one of the addresses you want to block. Then create a transport rule:
Apply this rule if...
1) the message >to box contains this person
2) the message >to box contains a member of this group
Do the following...
Reject the message with an explanation
Hope this helps!
I would create a security group hidden from GAL and add one of the addresses you want to block. Then create a transport rule:
Apply this rule if...
1) the message >to box contains this person
2) the message >to box contains a member of this group
Do the following...
Reject the message with an explanation
Hope this helps!
Graeme Lee
Mar 07, 2018Copper Contributor
Hi Ricardo,
Many thanks for this. Good thinking!
There is actually 3 addresses I need to incorporate, so I have made 6 rules as it's unlikely they will send to all 3 helpdesk addresses at once, two addresses happens!
I will let it all replicate and feedback tomorrow.
Many thanks for the help
Regards
- Ricardo VianaMar 07, 2018Steel ContributorI'm not sure why you have created 6 rules.
Just to be clear about my idea I will attach a screenshot.
So, for example:
A@contoso.com
B@contoso.com
C@contoso.com
Security groups:
Sec1@contoso.com = a+b
Sec2@contoso.com = a+c
Sec3@contoso.com = b+c
Rules:
1) to: c + any member of sec1
2) to: b + any member of sec2
3) to: a + any member of sec3
I look forward to hearing from you.- Graeme LeeMar 08, 2018Copper Contributor
Yes thanks Ricardo. I didn't think to add both other addresses to the group and have done them individually to avoid any AND or OR issues, therefore the 6 rules. But I have now created them as per your last post and it works perfectly.
Just what I required. Many thanks for the help and taking the time to make easily understandable. Very much appreciated