Skip to content

Instantly share code, notes, and snippets.

@chrisbrownie
Created 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/d94e70af9cf98cc929c805f950f571d2 to your computer and use it in GitHub Desktop.
Save chrisbrownie/d94e70af9cf98cc929c805f950f571d2 to your computer and use it in GitHub Desktop.
Encrypt Messages with OME based on Recipient Domain
New-TransportRule -Name "Encrypt mail to Woodgrove Bank" `
-RuleErrorAction Defer `
-RecipientAddressMatchesPatterns '^[A-Z0-9._%+-]+@woodgrovebank.com$'
-SetAuditSeverity Low `
-ApplyOME $true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment