Created
October 6, 2016 08:20
-
-
Save chrisbrownie/bdb5ee0a41bcfe94d00bf62fb11b9653 to your computer and use it in GitHub Desktop.
Encrypt Messages with OME based on Message Subject
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-TransportRule -Name "Encrypt mail with [encrypt] in subject" ` | |
-RuleErrorAction Defer ` | |
-SubjectMatchesPatterns '(?:^|\W|\w)\[encrypt\](?:$|\W|\w)' | |
-SetAuditSeverity Low ` | |
-ApplyOME $true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment