Skip to main content
M365 sends a copy of every incoming and outgoing email to xorlab.
Prerequisites
  • Using BCC monitoring sends an additional copy of each email to xorlab, which can lead to hitting the external recipients rate limit (tenant ERRL) of Microsoft Exchange.
  • You can monitor how close you are to the limit under: Reports → Mail flow → Outbound external recipients

Create mail flow rule

  1. Go to Exchange Admin CenterMail flowRules and create a new rule: Creating a new rule
  2. Configure the rule like this:
    • Name: IncomingBCCxorlab
    • Apply this rule ifThe senderis external/internalOutside the organization
    • Click the plus icon (+) to add another condition
    • AndThe recipientis external/internalInside the organization
    • Do the followingAdd Recipientsto the Bcc box → enter monitor@mx.xyz.activeguard.cloud, where xyz is your customer ID
    Rule settings for incoming emails
  3. Click through NextFinish and leave all settings at their defaults.
  4. Repeat steps #2-3 to add another rule but this time set:
    • Name: OutgoingBCCxorlab
    • The senderInside the organization
    • The recipientOutside the organization
    Rule settings for outgoing emails
  5. Enable both rules in the Rules page.
Now, a copy of every incoming and outgoing email will be sent to xorlab.

Create a connector

In addition to the mail flow rule above, we need to create a connector to make sure the emails are sent directly to xorlab.
We recommend to always create a connector to ensure proper email delivery. However, you can omit the connector if the following two conditions are met:
  • You do not have any other connectors that might interfere with the BCC emails sent to xorlab.
  • You do not have a hybrid MS setup with an on-prem-only email delivery (Centralized Mail Transport).
  1. Go to Exchange Admin CenterConnectors → add a connector: Add a connector
  2. Connection fromOffice 365, and Connection toYour organization’s email server: New connector from O365
  3. Set the name to Microsoft365Toxorlab and enable Retain internal Exchange email headers: Connector name from M365
  4. Choose the third option and enter mx.xyz.activeguard.cloud, where xyz is your customer ID. Click the plus (+) icon: Use of connector
  5. Add a new smart host with the value mx.xyz.activeguard.cloud, where xyz is your customer ID: Routing
  6. Activate Always use Transport Layer Security… and select Issued by a trusted certificate authority (CA): Security restrictions Security restrictions
  7. Enter a company mailbox where a validation email should be sent to: Validation email
    Unsuccessful validationThe connector validation might fail at this point. If this happens, save the connector without validation, and then validate the connector again.
  8. Review the connector and click Create when it’s OK.

Optional: Include internal emails

Per default, xorlab only processes incoming and outgoing emails. However, if you want to include also internal emails, do the following:
  • Remove one of the two mail flow rules from above
  • Rename the existing one to BCCxorlab
  • Change Apply this rule if to Apply to all messages and remove the And condition
Configuring the monitor rule Now, a copy of every email will be sent to xorlab.

Next steps

Optionally continue with: Once the integration is complete, continue with What to Configure Next.