Exchange 2013 STD block external mail comunications for some users

Copper Contributor

Hi to all,
i'm facing in a problem where i'm need to limitate some user to comunicate with external users.
I had created two transport rules, one for inbound and other one for outbound mail flow.
In the inbound rule the settings are:
-if the sender is outside of the organization
-and the recipient is "user" or "group" (i have tried both)
-action: reject the message and send this error: "the user are not able to...."

THIS RULE WORKING PROPERLY

 

In the outbound rule the settings are:
-if the sender is "user" or "group" (i have tried both)
-and the recipient is outside the organization
-action: reject the message and send this error: "you are not able to...."

THIS RULE NOT WORKING

 

This is a signle exchange server 2013 CU15 Standard edition.
I have see one discussion on technet where one user write that this outbound rule work only in enterprise edition.

I have tried in Exchange 2013 enterprise edition and this rule (outbound) work properly.
So i don't have other STD installation to test again the rule but some one can confirm this behavior?

It's very strange problem.

 

Thanks to all.

7 Replies

Hello Marco,

 

Can you change the order of the rule conditions to the following:

In the outbound rule the settings are:
-the recipient is outside the organization

-And the sender is "user" or "group" 

-action: reject the message and send this error: "you are not able to...."

- Stop Processing More rules

 

 

Also, check the following:

Get-RemoteDomain | select IsInternal | fl 

 

Give it a try and let us know.

 

Thanks,

 

Mike

Hi Michael, sorry but i'm waiting to test your suggestion in the customer enviroment. Thanks.

Hi Michael,

unfortunately, it's doesn't work.

The result of the command is:

 

IsInternal: false 

 

Other suggestion?

 

Thanks in advance.

 

Marco

 

 

You tried updating the rule also? This can take up to 4 hours to apply unless you restart the transport service.

 

The user can still send e-mail's externally?

Hi Michael,

yes, we wait some days and the user can send mail to external users.

Any other ideas???

 

Thanks a lot. :)

Are you applying the rule to a group or user? If a group, can you try targeting the user?

 

Can you try and invert the order of the rules?

 

 

 

 

Hi,

i have tried to user and group, i have invert the role, move to firsst but nothing work.

 

The best way is if someone have one STD installation where test the rules.

 

Thanks.