Exchange 2010 Transport Rule is being applied to internal mail.

Exchange 2010

I set up a transport role that redirects any email that contains a specific user (RestrictedAddress) in the To: or Cc: line to a moderator address.

I don't want any emails copying RestrictedAddress to go outside our organization.

But when I enable the rule, it gets applied even when the email is only addressed to internal users.

Here's what I want:

a) mail from internal users to internal users (including the user named RestrictedAddress) to flow normally.

b) mail from internal users to external users (as long as RestrictedAddress is not on the to: or cc: line) to flow normally

c) mail from internal users to external users copying RestrictedAddress to get redirected to a moderator

#a) is what is failing.  These emails are also getting redirected to the moderator.

I thought that Transport Rules only apply to mail leaving the organization.  This rule is clearly applying to all mail, even mails not directed to any outside users.

Any ideas?

Thanks.
gateguardAsked:
Who is Participating?
 
tigermattConnect With a Mentor Commented:
Nope, transport rules will be evaluated for any mail which enters the transport pipeline (as you've discovered). Whether or not a rule is actually applied depends on the conditions you've set on the rule.

There's a transport rule predicate/condition called SentToScope (in the GUI, it's labelled as sent to users that are inside or outside the organization, or partners). You want to enable that entry and select "external" on your Transport Rule.

Then, do be sure to test that the behaviour is exactly as you desire, and that the message is stopped entirely until the moderator hits approve.

-Matt
0
 
suriyaehnopConnect With a Mentor Commented:
Transport ruleI think you need to create 2 rules. One for email to internal user and second for email to external user
0
 
gateguardAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.