Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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