How to create catch all Office 365

Office365Rule Office365Rule

Hi Everyone, in this article I would like to show you how can we catch any mail that delivers to our domain,

Even if the SMTP address of the recipient is invalid or not existing.

The purpose is to learn sender’s behavior toward my domain Weather is some person who trying to spoof email to your domain or tried to send an email to the certain mailbox and miss some letter in the email address.

You can create a mailbox that contains all emails that were sent by mistake or were misspelled/misaddressed and track there the traffic.

Please note that NDR won’t send to the second side and it is not applicable for Hybrid & Co-existence environments, likewise, Microsoft Office 365 Support team not supported officially on this feature. However, According to  my tests, it works like a charm


First, go to your domains and change you accepted domain to be set as “Internal Relay” by default it may be on Authoritative field which means that only valid recipient can receive emails and unknown recipient emails are rejected

Afterward, create a new ‘Dynamic Distribution group’, this Dynamic group says that “Office365” group contains all “User with Exchange Mailboxes in your Office 365 env.” user that it is not the user with Exchange Mailboxes won’t be a member of this Dynamic group.


And the last action is creating  the Rule, Name “Catch All”, Apply this rule if the sender is outside, Redirect the message to “Meir Peleg” [I am going to get any invalid SMTP mailbox], Except if the recipient is member of “Office 365” which is my Dynamic group.

So just summing up the scenario, if you try to send an email [Invalid / unknown email address] for instance, TO: you should receive NDR that it does not exist, but after you configured the Catch all rule the email will redirect to “Meir Peleg” mailboxes and will be available for Meir. and you don’t receive NDR.

  1. Mike Sun 2 years ago

    great blog. I want to setup different catchall mailboxes or better recipients for catchall emails of different domains in the same O365 account?
    Users in O365 have and catchall should go to (it works as described above)
    Same users also have as email address and catchall should go to
    Is that possible?
    Kind regards. Mike

  2. Marley 2 years ago

    @Mike Sun, I created two rules that follow the guide. The only modification that I did was add an additional rule under the “Apply this rule if…” section that said recipient Domain is “”. I set the “Do the following” option to the domain. Make the second rule for the domain and everything will work as desired.

Leave a Comment

Your email address will not be published.

Comment moderation is enabled. Your comment may take some time to appear.

In the news
Load More