Forum Discussion
How to deny specific domain by rule exchange 2019
- Nov 22, 2023
LeonPavesic I try with this rule (and using test regex https://regex101.com/r/yN4tJ6/1)
result if sent email have @test2.com then will can sent another email @test2.co then deny . this is result ok with me
Thanks your support
Hi thanhtien19,
To block emails from a specific domain, you can follow these steps:
- Open the Exchange Admin Center (EAC) and navigate to the mail flow section.
- Create a new rule (+).
- Choose Limit messages by sender or recipient
- Add the condition “The adress from the sender correspodents...” and specify the exact domain you want to block (for example, @gmail.co).
This rule will block all emails sent from the specified domain.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
- thanhtien19Nov 22, 2023Iron Contributor
LeonPavesic I try with this rule (and using test regex https://regex101.com/r/yN4tJ6/1)
result if sent email have @test2.com then will can sent another email @test2.co then deny . this is result ok with me
Thanks your support
- Ghaith9Aug 12, 2024Copper Contributor
- LeonPavesicNov 22, 2023Silver Contributor
Hi thanhtien19,
you're welcome, thanks for your update.Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)