Forum Discussion
hlopes
Mar 28, 2022Copper Contributor
Exchange server 2016/2019
Hello, I'm doing a project from my barcherlat degree, and there is a question or a exercise that I need to setup a specific acess to email exchange time, for a specific group on my AD. So i...
Deleted
Mar 30, 2022Think of transport rules: Create a rule which denies sending emails from a group (see, which filter fits your needs (sender's address or scope, AD attribute, or even create a separate group for the AD users if necessary)). See https://docs.microsoft.com/en-us/Exchange/security-and-compliance/mail-flow-rules/conditions-and-exceptions#senders for more options and details.
Then write 2 short scripts which enable/disable the transport rule.
Finally use the task scheduler to run the one or other script.