Exchange Rule - Mailbox doesn't exist

Qasim, Sheikh M 31 Reputation points
2021-09-09T21:37:24.17+00:00

How can I add a rule in MS Exchange Online, that, if the mailbox or email address does not exist, instead of bouncing back, it should just go to a particular user/mailbox?

GSuite has this feature, is there a way to implement this on M365? Also, some users have been deleted as they do not exist, but emails are coming to them.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,429 questions
{count} vote

Accepted answer
  1. Yuki Sun-MSFT 40,896 Reputation points
    2021-09-10T06:17:09.817+00:00

    Hi @Qasim, Sheikh M

    How can I add a rule in MS Exchange Online, that, if the mailbox or email address does not exist, instead of bouncing back, it should just go to a particular user/mailbox?

    For Exchange Online environment, Directory-Based Edge Blocking (DBEB) is by default in effect, so messages for invalid recipients will be automatically rejected at the service network perimeter and won't be able to go through the rest of the service filtering layers: anti-malware, anti-spam, and mail flow rules. Therefore, in order to catch mails sent to nonexsiting mailboxes, first we would need to disable DBEB by changing the domain from Authoritative to Internal relay, then try to create a transport rule to redirect the messages.

    Below are the steps for your reference:
    1.Login to Exchange Admin Center, go to Mail Flow > Accepted domains, choose the domain, change it from Authoritative to Internal Relay:
    130919-1.png
    For more details about the difference between the authoritative domain and internal relay, you may refer to Manage accepted domains in Exchange Online.

    2.Go to Recipients > Groups, create a group which includes all the valid internal recipients. For instance, you can create a dynamic distribution group and set the rule as all recipient types so that all valid recipients will be included.

    3.Go to Mail Flow > Rule, create a rule similar to below:
    133708-rule.png

    Then regarding the other issue you mentioned (some users have been deleted as they do not exist, but emails are coming to them), since it's different from the initial question as indicated in the thread title, it would be best if you try to open up a new thread for it. In this way, it will make information searching in the forum easier and be beneficial to other community members as well. Thanks for your understanding.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Vasil Michev 98,201 Reputation points MVP
    2021-09-10T06:11:41.247+00:00

    If that's for specific (previously existing) email addresses, simply add those as aliases to some shared mailbox or a DG. If you are talking about a general "catch all" type of solution, read here: https://www.undocumented-features.com/2021/02/10/create-a-catch-all-mailbox-in-office-365/

    0 comments No comments