eranza84
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 ?
i have exchange 2013 and trendmicro smex.
from where is better to block and how ?
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i forgat to say i am in 365
ASKER
its work
tnx
tnx
Glad I could help.
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.