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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tigermattCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
suriyaehnopCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.