Link to home
Start Free TrialLog in
Avatar of eranza84
eranza84Flag for Israel

asked on

how to block outgoing mail to specified domain

i need to block mails that send to a specified domain
i have exchange 2013 and trendmicro smex.
from where is better to block and how ?
Avatar of Scott C
Scott C
Flag of United States of America image

I would use a Transport Rule.

http://exchangeserverpro.com/block-users-sending-to-specific-domains-with-exchange-server-2010/

This is for Exchange 2010, but the concepts/steps are basically the same.

I'm spinning up a Exchange 2013 lab right now to confirm.
Avatar of nashiooka
nashiooka

Agree transport rule is a good approach, but you may consider using the predicate "When recipient's address matches text patterns" and adding patterns like @fabrikam.com$ & @nwtraders.com$.

So this would trigger the rule only when the recipient address ends in that string.  It may be overkill but it would guard against edge cases where there is some domain that's a substring of those you are blocking, or cases where you still want to send to some subdomain, like you don't want to send to Microsoft.com but you do want to send to support.microsoft.com.

Obviously RegEx can be intimidating in a transport rule, but this does work, and these are oretty straightforward expressions. And ALWAYS test these first, in fact test any transport rule before implementing, as there's always potential to inadvertently drop mail.

Let us know how it goes.
ASKER CERTIFIED SOLUTION
Avatar of Scott C
Scott C
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
Avatar of eranza84

ASKER

i forgat to say i am in 365
its work
tnx
Glad I could help.