Skip to content

Commit 45dd8ed

Browse files
authored
Update Set-TransportRule
Changed the description of the: -SenderDomainIs -ExceptIfSenderDomainIs And -RecipientDomainIs -ExceptIfRecipientDomainIs There was a mistake that subdomain will not be matched for the provided domain that subdomain contains. Fixed for all conditions/exceptions. This is applicable to both, OnPrem and EXO. WorkItem ID for changes: 3181446
1 parent 46e27f2 commit 45dd8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exchange/exchange-ps/exchange/Set-TransportRule.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,7 +2583,7 @@ In on-premises Exchange, this exception is only available on Mailbox servers.
25832583

25842584
The ExceptIfRecipientDomainIs parameter specifies an exception that looks for recipients with email address in the specified domains. You can specify multiple domains separated by commas.
25852585

2586-
If you want to look for recipient email addresses that contain the specified domain (for example, any subdomain of a domain), use the ExceptIfRecipientAddressMatchesPatterns parameter, and specify the domain by using the syntax '@domain\\.com$'.
2586+
This predicate will match domains as well as subdomains with domain provided. For example: For the value "domain.com" both domain "domain.com" and subdomain "subdomain.domain.com" will be matched.
25872587

25882588
```yaml
25892589
Type: Word[]
@@ -2760,7 +2760,7 @@ In on-premises Exchange, this exception is only available on Mailbox servers.
27602760

27612761
The ExceptIfSenderDomainIs parameter specifies an exception that looks for senders with email address in the specified domains. You can specify multiple domains separated by commas.
27622762

2763-
If you want to look for sender email addresses that contain the specified domain (for example, any subdomain of a domain), use the FromAddressMatchesPatterns parameter, and specify the domain by using the syntax '@domain\\.com$'.
2763+
This predicate will match domains as well as subdomains with domain provided. For example: For the value "domain.com" both domain "domain.com" and subdomain "subdomain.domain.com" will be matched.
27642764

27652765
You can use SenderAddressLocation parameter to specify where to look for the sender's email address (message header, message envelope, or both).
27662766

@@ -4013,7 +4013,7 @@ In on-premises Exchange, this condition is only available on Mailbox servers.
40134013

40144014
The RecipientDomainIs parameter specifies a condition that looks for recipients with email address in the specified domains. You can specify multiple domains separated by commas.
40154015

4016-
If you want to look for recipient email addresses that contain the specified domain (for example, any subdomain of a domain), use the RecipientAddressMatchesPatterns parameter, and specify the domain by using the syntax '@domain\\.com$'.
4016+
This predicate will match domains as well as subdomains with domain provided. For example: For the value "domain.com" both domain "domain.com" and subdomain "subdomain.domain.com" will be matched.
40174017

40184018
```yaml
40194019
Type: Word[]
@@ -4470,7 +4470,7 @@ In on-premises Exchange, this condition is only available on Mailbox servers.
44704470

44714471
The SenderDomainIs parameter specifies a condition that looks for senders with email address in the specified domains. You can specify multiple domains separated by commas.
44724472

4473-
If you want to look for sender email addresses that contain the specified domain (for example, any subdomain of a domain), use the FromAddressMatchesPatterns parameter, and specify the domain by using the syntax '@domain\\.com$'.
4473+
This predicate will match domains as well as subdomains with domain provided. For example: For the value "domain.com" both domain "domain.com" and subdomain "subdomain.domain.com" will be matched.
44744474

44754475
You can use SenderAddressLocation parameter to specify where to look for the sender's email address (message header, message envelope, or both).
44764476

0 commit comments

Comments
 (0)