How to Exclude Internal and External Senders from Exchange Automatic Replies
Question details
The user wants to configure Microsoft 365 automatic replies (Out of Office messages) for user and shared mailboxes to exclude specific internal and external recipients.

- Product
- Microsoft 365 Exchange
- Device & OS
- not provided
- Scenario
- Setting up custom Out of Office reply rules to ensure only specific audiences receive the automated response.
- Observed behavior
- Needs to know the exact capabilities and limitations of Exchange when attempting to block specific email addresses or domains from receiving automatic replies.
Ensure you have access to your Outlook settings or Outlook on the web. If you are configuring a shared mailbox, verify that you have the necessary delegate permissions or administrator access in the Microsoft 365 admin center.
Configure Automatic Reply Rules for Internal and External Users
Use Outlook or Exchange settings to separate your automatic replies, disabling them for internal users while restricting external replies to known contacts.
Microsoft 365 allows you to manage automatic replies differently for internal colleagues and external senders. While you can easily exclude all internal users, Exchange does not natively support excluding specific external email addresses or domains. Instead, the supported workaround is to only send replies to external users who are in your contacts.
Open the Outlook desktop app and navigate to 'File' > 'Automatic Replies (Out of Office)'. If using Outlook on the web, click the gear icon for 'Settings', go to 'Mail', and select 'Automatic replies'.
Select the 'Send automatic replies' option and specify your desired time range.
In the 'Inside My Organization' tab, leave the message box completely blank or ensure the rule is not set to send to internal users. This prevents internal colleagues from receiving the Out of Office message.
Switch to the 'Outside My Organization' tab. Check the box for 'Auto-reply to people outside my organization'.
To prevent specific unknown external users from receiving the reply, select the 'My contacts only' option. This acts as a filter, excluding everyone else. If you want everyone to receive it, select 'Anyone outside my organization'.
Click 'OK' or 'Save' to apply your new automatic reply rules.

Enhance Your Daily Workflow with WPS Office
While managing your Exchange email settings and communications, you can optimize your document creation with WPS Office. It is a powerful, free, and lightweight suite that provides an intuitive interface for all your productivity needs.
- 1. Download the software: Visit the official WPS website and download the free installation package.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the suite on your device.
- 3. Open existing documents: Launch WPS Office and open your existing Microsoft Office files with perfect formatting retention.

Frequently Asked Questions
Can I block a specific external email domain from receiving my automatic replies?
No, Microsoft 365 does not natively support blacklisting specific external domains or individual addresses for automatic replies. You can only restrict external replies to people in your contact list.
How do I turn off automatic replies for internal users but keep them for external users?
In your Automatic Replies settings, set up your message under the 'Outside My Organization' tab. For the 'Inside My Organization' tab, leave the message box entirely blank. This ensures no reply is generated for internal colleagues.
Do these automatic reply rules apply to shared mailboxes in Microsoft 365?
Yes. Administrators can configure these same automatic reply settings for shared mailboxes through the Microsoft 365 admin center, or users with full access permissions can open the shared mailbox in Outlook on the web to adjust the settings.




