We recently updated our environment to Exchange 2013 SP1.. So far so good, but we have come across a problem we can't seem to figure out. In our 2010 enviornment, we were using an edge transport server to apply various legal disclaimers to our outbound email messages (based on recipient domain). We have since deployed a 2013 edge transport server, but can't seem to get the command together that will allow us to create these rules again.
This is the command I'm executing:
New-TransportRule -Name 'contoso.com TLS Footer' -Enabled $True -Mode Enforce -RecipientAddressMatchesPatterns '@contoso.com$' -SentToScope NotInOrganization -ApplyHtmlDisclaimerLocation Append -ApplyHtmlDisclaimerFallbackAction Reject -ApplyHtmlDisclaimerText 'The message was protected by the contoso.com TLS Connection.'
This is the error:
New-TransportRule : A parameter was specified that isn't valid on an Edge Transport server.At line:1 char:1
+ New-TransportRule -Name "contoso.com tls footer" -Enabled $true -Mode Enforce -Recipien ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (SentToScope:String) [New-TransportRule], ArgumentException
+ FullyQualifiedErrorId : [Server=edge,RequestId=xxxxxxxx,TimeStamp=8/17/2015 7:29:31 PM] [FailureCategory=Cmdlet-ArgumentException] 7C733186,Microsoft.Exchange.MessagingPolicies.Rules.Tasks.NewTransportRule
Any thoughts here? I've scoured the documentation for this command and can't seem to find what I'm missing. Why is it considering the 'SentToScope' invalid?
Thanks in advance
- Edited by steelie Monday, August 17, 2015 8:13 PM formatting