Exchange 2019 - TransportRules with Regular Expression

Copper Contributor

After migrating from Exchange 2016 with EDGE server to Exchange 2019, we have problems with transport rules. Here are the transport rules we use:

New-TransportRule -Name "Wildcard" -AnyOfRecipientAddressMatchesPatterns "^some-pretext\w*@($" -RedirectMessageTo

We would like to continue using the transport rule, but we receive an NDR reply with Reciepient not found. The RecipientFilterConfig was deactivated with : Set-RecipientFilterConfig -Enabled $false
These transport rules do not work on Exchange Online either.
Deactivating the TransportAgent with Disable-TransportAgent "Recipient Filter Agent" does not help us because there is none installed.
Perhaps I have missed something?

0 Replies