> For the complete documentation index, see [llms.txt](https://docs.tminus365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tminus365.com/security/exchange/automatic-forwarding-to-external-domains-shall-be-disabled.md).

# Automatic Forwarding to External Domains SHALL Be Disabled

## Description

This control is intended to prevent bad actors from using client-side forwarding rules to exfiltrate data to external recipients.

## &#x20;Policy

* Automatic forwarding to external domains SHALL be disabled

## Licensing Considerations

Any tenant with an Exchange Online license can configure this setting.

## Set Up Instructions&#x20;

To disallow automatic forwarding to external domains:

1. Sign in to the Exchange admin center.
2. Select Mail flow, then Remote domains.
3. Select Default.
4. Under Email reply types, select Edit reply types.
5. Clear the checkbox next to Allow automatic forwarding, then click Save.

## End-User Impact

{% hint style="info" %}
Level: <mark style="color:green;">Low</mark>
{% endhint %}

With this setting enabled, users will be prevented from setting up any auto-forwarding rules to external domains.

{% hint style="info" %}
Tips:

None Curently
{% endhint %}

## PowerShell Scripts

* Block Auto FW: <https://github.com/msp4msps/Security/blob/master/Block%20Auto-FW.ps1>
* Block Auto FW Multi-Tenant: <https://github.com/msp4msps/Security/blob/master/Block%20Auto-FW_All%20Customers.ps1>

## Videos

{% embed url="<https://www.youtube.com/watch?v=kskBq4b2rqo>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tminus365.com/security/exchange/automatic-forwarding-to-external-domains-shall-be-disabled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
