Skip to content

Commit 9cdb765

Browse files
authored
Update New-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 9cdb765

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exchange/exchange-ps/exchange/New-TransportRule.md

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

26052605
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.
26062606

2607-
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$'.
2607+
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.
26082608

26092609
```yaml
26102610
Type: Word[]
@@ -2781,7 +2781,7 @@ In on-premises Exchange, this exception is only available on Mailbox servers.
27812781

27822782
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.
27832783

2784-
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$'.
2784+
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.
27852785

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

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

40194019
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.
40204020

4021-
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$'.
4021+
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.
40224022

40234023
```yaml
40244024
Type: Word[]
@@ -4475,7 +4475,7 @@ In on-premises Exchange, this condition is only available on Mailbox servers.
44754475

44764476
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.
44774477

4478-
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$'.
4478+
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.
44794479

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

0 commit comments

Comments
 (0)