--- title: "Configuring Inline mode" slug: "configuring-inline-mode" tags: ["Integration", "Email Security - Cloud", "Cloud Security"] updated: 2026-09-08T12:19:08Z published: 2026-09-08T12:19:08Z canonical: "docs.trellix.com/configuring-inline-mode" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring Inline mode You can integrate Inline mode (without AV/AS) between O365/EOP and Email Security - Cloud by creating mail flow rules, creating partner connectors, and adding the Email Security — Cloud IP ranges and domains to the allowed list in order to route all external inbound email to Email Security — Cloud for analysis. The allowed list enables rules allow clean messages sent from Email Security — Cloud to be delivered without the risk of being quarantined by O365. The mail flow rule and connector route all external inbound email to Email Security — Cloud for analysis. Malicious email is blocked while non-malicious email is re-routed back to O365/EOP for delivery. You can select the following actions for spam, depending on how spam is treated in O365: - **Spam is sent to the Admin Quarantine:** When O365 is used in conjunction with the Admin Quarantine, spam is routed to the Admin Quarantine before email is routed to Email Security — Cloud. When spam is released from the Admin Quarantine, it is routed through Email Security — Cloud before delivery to the recipient's mailbox. It is possible that spam released by a user may be quarantined in Email Security — Cloud instead of being delivered to the recipient mailbox. All email is scanned by Email Security — Cloud before the recipient can access the email. Trellix recommends configuring the Admin Quarantine digest when you use this mode. - **Spam is sent to the Junk Mail folder:** When O365 is used in conjunction with the Junk Mail folder, email is routed through Email Security — Cloud before spam content policies are applied. This means that Email Security — Cloud may alert on spam that ends up in the recipient's Junk Mail folder. All emails are scanned by Email Security — Cloud, but if your organization wants to avoid alerts for emails delivered into the Junk Mail folder, Trellix recommends using the Admin Quarantine. To configure Inline mode: - [Step 1: Add the Email Security — Cloud domain to the allowed list](/data-and-email/docs/configuring-inline-mode#step-1-add-the-email-security-—-cloud-domain-to-the-allowed-list) - [Step 2: Create the IP allowed list rule](/data-and-email/docs/configuring-inline-mode#step-2-create-the-ip-allowed-list-rule) - [Step 3: Create an Inbound connector](/data-and-email/docs/configuring-inline-mode#step-3-create-an-inbound-connector) - [Step 4: Create an Outbound connector](/data-and-email/docs/configuring-inline-mode#step-4-create-an-outbound-connector) - [Step 5: Disable SPF hard fail](/data-and-email/docs/configuring-inline-mode#step-5-disable-spf-hard-fail) - [Step 6: Select the spam action options](/data-and-email/docs/configuring-inline-mode#step-6-select-the-spam-action-options) - [Step 6a: Configure the spam action options for admin quarantine](/data-and-email/docs/configuring-inline-mode#step-6a-configure-the-spam-action-options-for-admin-quarantine) - [Step 6b: Configure the spam action options for junk email or a combination of actions](/data-and-email/docs/configuring-inline-mode#step-6b-configure-the-spam-action-options-for-junk-email-or-a-combination-of-actions) - [Step 7: Create the Inline transport rule](/data-and-email/docs/configuring-inline-mode#step-7-create-the-inline-transport-rule) **What you need** - Administrative access to your O365/EOP account. - Administrative access to your Email Security — Cloud instance. ### Step 1: Add the Email Security — Cloud domain to the allowed list > [!NOTE] > Note > > To ensure that you receive administrative alerts, Trellix recommends adding the domain that sends alerts to the allowed list. 1. In the **Microsoft Exchange admin center**, select **Other features**. 2. Click the link in the **Spam Filter** row. The Microsoft Defender 365 page opens. 3. Verify the **default** inbound spam filter's status is "Always on", then click on the policy. A pop-up window appears. 4. In the pop-up window, click the **Edit allowed and blocked senders and domains** menu option. 5. Under Domains, select **Allow domains**. 6. Click **+Add domains** and enter `fireeyecloud.com` as an allowed domain. Click **Add domains**. 7. Click **Done** to save your settings. 8. Click **Save** to save the allowed list. ### Step 2: Create the IP allowed list rule > [!NOTE] > Note > > Trellix recommends creating an IP allowed list rule to prevent O365 rate limiting from Email Security - Cloud. 1. In the **Microsoft Exchange admin center**, select **Other features**. 2. Click the link in the **Connection Filter** row. The Anti-spam policies page in Microsoft Defender 365 opens. 3. Select the **Connection filter policy**. 4. Click **Edit connection filter policy**. 5. Enter the first IP address corresponding with the geographic region of your Email Security — Cloud account in the **Always allow messages from the following IP addresses or address range** entry box. Repeat this step for the remaining IP addresses. | Email Security — Cloud region | MX records | | --- | --- | | USA | 34.223.36.0/24 3.93.93.0/24 | | EMEA | 3.123.5.0/24 63.34.218.0/24 | | APJ | 3.112.99.0/24 3.112.100.0/24 | | USGOV | 15.200.32.0/24 | | CA | 3.97.207.0/24 | 6. Click **Save** to save the rule configuration. ### Step 3: Create an Inbound connector > [!NOTE] > Note > > You must create an inbound connector to O365 in order for O365 to process messages after an Email Security - Cloud scan. 1. In the **Microsoft Exchange admin center**, click **Mail flow** > **Connectors**. 2. Click **+Add a connector** button to create a new connector. 3. Set the **Connection from** value to **Partner organization**. 4. The default **Connection to** value is **Office 365**. Click **Next**. 5. Enter the connector name and description (optional). 6. Verify that the **Turn it on** checkbox is selected. Click **Next**. 7. Select **By verifying that the IP address of the sending server matches one of the following IP addresses, which belong to your partner organization**. 8. Enter the first sender IP address corresponding with the geographic region of your Email Security - Cloud account. Click the **+** button. Repeat this step for the remaining IP addresses. | Email Security — Cloud region | MX records | | --- | --- | | USA | 34.223.36.0/24 3.93.93.0/24 | | EMEA | 3.123.5.0/24 63.34.218.0/24 | | APJ | 3.112.99.0/24 3.112.100.0/24 | | USGOV | 15.200.32.0/24 | | CA | 3.97.207.0/24 | 9. Click **Next**. 10. Verify that the **Reject email messages if they aren't sent over TLS** option is selected. Click **Next**. 11. Verify that the connector settings have been correctly configured, then click **Create connector**. 12. Click **Done**. ### Step 4: Create an Outbound connector > [!NOTE] > Note > > You must create an outbound connector in O365 in order to deliver mail to Email Security - Cloud for scanning. 1. In the **Microsoft Exchange admin center**, click **Mail flow** > **Connectors**. 2. Click the **+Add a connector** button to create a new connector. 3. Set the **Connection from** value to **Office 365**. 4. Set the **Connection to** value to **Partner organization**. Click Next. 5. Enter the connector name and description (optional). 6. Verify that the **Turn it on** checkbox is selected. Click **Next**. 7. Verify that the **Only when I have a transport rule set up that redirects messages to this connector** option is selected. Click Next. 8. Select **Route email through these smart hosts**. 9. Enter the first smart host value corresponding with the geographic region of your Email Security - Cloud account. Click the **+** button. Repeat this step for the remaining smart host values. | Email Security — Cloud region | Smart host | | --- | --- | | USA | primary.us.email.fireeyecloud.com alt1.us.email.fireeyecloud.com alt2.us.email.fireeyecloud.com alt3.us.email.fireeyecloud.com | | EMEA | primary.emea.email.fireeyecloud.com alt1.emea.email.fireeyecloud.com alt2.emea.email.fireeyecloud.com alt3.emea.email.fireeyecloud.com | | APJ | primary.ap.email.fireeyecloud.com alt1.ap.email.fireeyecloud.com alt2.ap.email.fireeyecloud.com alt3.ap.email.fireeyecloud.com | | USGOV | primary.us.etp.fireeyegov.com alt1.us.etp.fireeyegov.com alt2.us.etp.fireeyegov.com alt3.us.etp.fireeyegov.com | | CA | primary.ca.email.fireeyecloud.com alt1.ca.email.fireeyecloud.com alt2.ca.email.fireeyecloud.com alt3.ca.email.fireeyecloud.com | 10. Click **Next**. 11. Verify that the **Always use Transport Layer Security (TLS) to secure the connection (recommended)** option is selected. 12. Verify that the **Issued by a trusted certificate authority (CA)** option is selected. Click **Next**. 13. Enter the email address that corresponds to the geographic region of your Email Security — Cloud account, then click **+**. | Email Security — Cloud region | Email address | | --- | --- | | USA | o365@validate.fireeyecloud.com | | EMEA | o365@validate.emea.fireeyecloud.com | | APJ | o365@validate.ap.fireeyecloud.com | | USGOV | o365@validate.fireeyegov.com | | CA | o365@validate.fireeyecloud.com | 14. Click **Validate** to begin the validation process. > [!NOTE] > Note > > Validation results should indicate that both the connectivity and email tests were successful. If results are not successful, cancel the process and repeat it. If both tests still do not complete successfully, please contact Trellix Customer Support for further help. 15. Click **Next**. Review the connector settings. Then click, **Create connector**. ### Step 5: Disable SPF hard fail You must disable SPF hard fail in O365 in order for Email Security - Cloud to deliver mail to your MTA. 1. Go to the [Microsoft security center](https://security.microsoft.com/). You must be an administrator. 2. Under Email & collaboration, select **Policies & rules**. 3. Click **Threat policies**. 4. Under Policies, select **Anti-spam**. 5. Select **Anti-spam inbound policy (Default)**. 6. Click **Edit spam threshold and properties**. 7. Under SPF record: hard fail, select **Off**. 8. Click **Save**. ### Step 6: Select the spam action options > [!NOTE] > Note > > The supported spam action options are either **quarantine message** or **move message to junk email folder**. The **quarantine message** action configures O365 to use the Admin Quarantine, while the **move message to junk email folder** action configures O365 to send spam messages to recipients' junk folders. You can configure multiple spam actions depending on spam confidence level, follow Microsoft's recommendations for configuring a junk email folder. > > For specific instructions on configuring both spam action options, see [Step 6a: Configure the spam action options for admin quarantine](/data-and-email/docs/configuring-inline-mode#step-6a-configure-the-spam-action-options-for-admin-quarantine) and [Step 6b: Configure the spam action options for junk email or a combination of actions](/data-and-email/docs/configuring-inline-mode#step-6b-configure-the-spam-action-options-for-junk-email-or-a-combination-of-actions). 1. In the **Microsoft Exchange admin center**, select **Other features**. Click the link in the **Spam Filter** row. The Microsoft Defender 365 page opens. 2. Select the **Anti-spam inbound policy** (default) and click **Edit actions** 3. Under **Spam**, open the drop-down menu. Select either **Quarantine message** or **Move message to Junk Email folder**. 4. Under **High confidence spam**, open the drop-down menu. Select either **Quarantine message** or **Move message to Junk Email folder**. > [!NOTE] > Note > > Trellix recommends configuring the O365 end user spam quarantine notifications if used in Inline mode so that end users can release messages. 5. Click **Save**, then verify that the policy is selected for use. #### Step 6a: Configure the spam action options for admin quarantine > [!NOTE] > Note > > Administrators must configure spam filtering settings on O365 in order to preserve the spam filtering process. This rule is required to handle an edge case where there may be duplicate spam checks run on emails. This can result in messages released from the Admin Quarantine going back to the Admin Quarantine. > [!WARNING] > Important > > This step applies **only** to the following scenario: > > - Spam is sent to the Admin Quarantine > > To configure spam to be sent to the Junk Email folder or to configure a hybrid of the Admin Quarantine and Junk Email folders, see **Step 6b**. 1. In the **Microsoft Exchange admin center**, click **Mail flow** > **Rules**. 2. Click **+Add a rule**, then select **Create a new rule** from the drop-down menu. 3. Enter a name for the rule. > [!NOTE] > Note > > Use a name that is easy to identify, such as "Email Security - Cloud Return Spam Bypass." 4. Under the **Apply this rule if...** section, select **The sender** > **IP address is any of these ranges or exactly matches**. A pop-up window appears. 5. Enter the first IP address corresponding with the geographic region of your Email Security — Cloud account. Click **Add**. Repeat this step for the remaining IP addresses. | Email Security — Cloud region | IP addresses | | --- | --- | | USA | 34.223.36.0/24 3.93.93.0/24 | | EMEA | 3.123.5.0/24 63.34.218.0/24 | | APJ | 3.112.99.0/24 3.112.100.0/24 | | USGOV | 15.200.32.0/24 | | CA | 3.97.207.0/24 | 6. Click **Save**. 7. Under the **Do the following** section, select **Modify the message properties** > **set the spam confidence level (SCL)**. A pop-up window appears. 8. Verify that **Bypass spam filtering** is selected, then click **Save**. > [!WARNING] > Important > > Do not select **Stop processing more rules** and do not change any other default settings. Doing so may interfere with how O365 processes spam messages. 9. Click **Save**. 10. Verify that the rule is enabled and has a higher priority than any transport rules or rules with **Stop processing more rules** selected. #### Step 6b: Configure the spam action options for junk email or a combination of actions This rule is required to allow O365 to detect the original spam classification of email and to update the spam score on return from Email Security — Cloud so that the email will be delivered into the recipient's Junk Email folder. > [!WARNING] > Important > > This step applies **only** to the following scenarios: > > - Spam is sent to the recipient's Junk Email folder > - A hybrid option of the two spam actions is configured > > To configure spam to be sent to the Admin Quarantine, see **Step 6a**. 1. In the **Microsoft Exchange admin center**, click **Mail flow** > **Rules**. 2. Click **+Add a rule**, then select **Create a new rule** from the drop-down menu. 3. Enter a name for the rule. 4. Under the **Apply this rule if** section, select **The sender** > **IP address is any of these ranges or exactly matches**. A pop-up window appears. 5. Enter the first IP address corresponding with the geographic region of your Email Security — Cloud account. Click **Add**. Repeat this step for the remaining IP addresses. | Email Security — Cloud region | IP address(es) | | --- | --- | | USA | 34.223.36.0/24 3.93.93.0/24 | | EMEA | 3.123.5.0/24 63.34.218.0/24 | | APJ | 3.112.99.0/24 3.112.100.0/24 | | USGOV | 15.200.32.0/24 | | CA | 3.97.207.0/24 | 6. Click **Save**. 7. Next to the **Apply this rule if** section, click the **+** button. A new section titled **And** appears. 8. Under the **And** section: 1. Select **The message headers...** > **matches these text patterns**. 2. Click **Enter text**, then enter `X-Forefront-Antispam-Report-Untrusted` in the specify header name box. Click **Save**. 3. Click **Enter words**, then enter `SFV:SPM` in the specify words or phrases box. Click **Save**. 9. Under the **Do the following** section, select **Modify the message properties** > **Set the spam confidence level (SCL)**. A pop-up window appears. 10. Select **6** from the **specify SCL** drop-down menu. Click **Save**. 11. Click **Next**. > [!WARNING] > Important > > Do not select **Stop processing more rules** and do not change any other default settings. Doing so may interfere with how O365 processes spam messages. 12. Click **Next**. Review the rule configuration. Click **Finish**. 13. Verify the rule is enabled and has a higher priority than any transport rules or rules with **Stop processing more rules** selected. ### Step 7: Create the Inline transport rule 1. In the **Exchange admin center**, select **Mail flow** > **Rules**. 2. Click **+Add a rule**, then select **Create a new rule** in the drop-down menu. 3. Enter a name for the rule. > [!NOTE] > Note > > Use a name that is easy to identify, such as "ETP Inline Integration Rule." 4. Under the **Apply this rule if** section, select **The sender** > is **external/internal** from the drop-down menu. A pop-up window appears. 5. Select **Outside of the organization**. Click **Save**. 6. Click the **+** button to the right of the **Apply this rule if** section. A new section titled **And** appears. 7. Under the new **And** section: 1. Select **The recipient** > **domain is**, then enter a domain. > [!WARNING] > Important > > Enter the domain that you previously configured to process messages in Email Security - Cloud. 2. Click **Add** to add the domain to the list. 3. Click **Save**. 8. Under the **Do the following** section: 1. Select **Redirect the message to** > **The following connector**. A pop-up window appears. 2. In the pop-up window, select the **connector** created in [Step 4: Create an Outbound connector](/data-and-email/docs/configuring-inline-mode#step-4-create-an-outbound-connector). 3. Click **Save**. 9. Under the **Except if...** section: > [!WARNING] > Important > > Adding the exception ensures that emails that have already been scanned by Email Security - Cloud do not get scanned again. 1. Select **The sender** > **IP address is in any of these ranges or exactly matches**. A pop-up window appears. 2. Enter the first IP address corresponding with the geographic region of your Email Security — Cloud account. Click **Add**. Repeat this step for the remaining IP addresses. | Email Security — Cloud region | IP addresses | | --- | --- | | USA | 34.223.36.0/24 3.93.93.0/24 | | EMEA | 3.123.5.0/24 63.34.218.0/24 | | APJ | 3.112.99.0/24 3.112.100.0/24 | | USGOV | 15.200.32.0/24 | | CA | 3.97.207.0/24 | 3. Click **Save**. 10. Click **Next**. > [!WARNING] > Important > > Do not select **Stop processing more rules**. Doing so may interfere with how O365 processes messages. 11. Select **header or envelope** from the Match sender address in message drop-down menu. 12. Click **Next**. Review the rule configuration. 13. Click **Finish**. 14. Verify that the rule is enabled and that it follows the spam bypass rule configured in [Step 6: Select the spam action options](/data-and-email/docs/configuring-inline-mode#step-6-select-the-spam-action-options) .