Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 3660

Using Transportrule patterns in Exchange 2013

$
0
0

In Exchange 2010 I was able to send a specific disclaimer (with or without Mobile Phone number) based on a AD Pattern match. Strangly Exchange 2013 does not allow the expression I'm using. I was wondering if anyone could help me out:

I'm using powershell:

Get-TransportRule "Signature - With mobile" | Set-Transportrule -SenderADAttributeMatchesPatterns ("mobilenumber:\S(\S|\s)*")

I've also tried:
\S(\S|\s)*
/\S(\S|\s)*/g

The error i'm getting:

The specified regular expression '\S(\s|\S)*'is invalid.
Parameter name: SenderAttributeMatches

But none seem to work in Exchange 2013. When I stop using groupings (), the expression is allowed though.

Any help would be greatly appriciated



Viewing all articles
Browse latest Browse all 3660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>