Trying to setup transport rule to prevent outgoing emails but allow internal emails.
The following doesn't seem to work, no NDR, and no blocking:
--------------------------------------------------------------------------------------------------------
from joe@contoso.com
and sent to user that are 'Outside the Organization'
send 'Email outside of Company is not allowed' to sender with '5.7.1'
--------------------------------------------------------------------------------------------------------
If I add 'Delete the message without notifying anyone' it is not allowed.
Error:
An action to reject the message was specified, but there is more than one action.
When this action is used, it must be the only action in the rule.