Skip to content

Instantly share code, notes, and snippets.

@chrisbrownie
Last active October 6, 2016 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbrownie/83291881584c3d863a0a8c9c79d28a67 to your computer and use it in GitHub Desktop.
Save chrisbrownie/83291881584c3d863a0a8c9c79d28a67 to your computer and use it in GitHub Desktop.
Encrypt Messages with OME based on Message Sensitivity
New-TransportRule -Name "Encrypt mail marked as Private or Confidential" `
-RuleErrorAction Defer `
-HeaderMatchesMessageHeader "Sensitivity"`
-HeaderMatchesPatterns "Private","Company-Confidential" `
-SetAuditSeverity Low `
-ApplyOME $true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment