Sep 29 2021
- last edited on
Feb 01 2023
I want to introduce a CatchAll-Mailbox, meaning that all messages sent to non-existant recipients shall be redirected to a specific Mailbox.
The basic idea is to introduce a rule that redirects all incoming messages and make an exception for recipients who are member of a Dynamic Group that contains all existing Mailboxes. To prevent exchange from instantly blocking the message and instead process the rules, i set the Accepted Domain to internal relay.
Now i want to make this whole thing domain-specific, meaning it should only apply for unknown recipients of specificdomain.com. I tried to introduce a recipient-matches-pattern-condition but that didnt work.
How can i set this up?
Sep 30 2021 01:17 AM
@Vasil Michev Yeah there is. I also tried it but it doesnt seem to work.
My rule does the following:
If sender is outside organisation...
...redirect to firstname.lastname@example.org...
..except if recipient is member of dynamic group (Group contains all existant Mailboxes @domain.com)
This works for sending a mail to nonExistant@domain.com
Now if i introduce a second condition like:
... and if recipient's domain is 'domain.com'...
the rule never triggers. I assumed that maybe the domain condition only works for users that actually exist, but i also couldn't get it to work with other condition types. Maybe i used it wrong?
Sep 30 2021 10:04 AM
@Vasil Michev doesn't change it, the rule just won't trigger. Keeping the Dynamic group and removing the domain condition instead results in a working rule.
Looking in Message Trace i can see that Exchange just let's the mail through. Because the domain is set to internal relay it just tries to redirect the mail to the original recipient, resulting in a loop recognition that blocks on third redirect.