Create a gist now

Instantly share code, notes, and snippets.

Encrypt Messages with OME based on Message Subject
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