Skip to main content

Configure your guarded domains

Open the Expert Editor and add all domains that should be protected by xorlab to shared/guarded_tenants.yml.
shared/guarded_tenants.yml

Define data retention

Review the default data retention parameters below. If you want to change a parameter, specify it in the same file shared/guarded_tenants.yml. Otherwise, no action is required.
SaaSFor xorlab SaaS, these values are managed by xorlab. Please contact support@xorlab.com if you want to change it.
shared/guarded_tenants.yml
For all available retention and storage configurations, see Data Retention Overview. When you finish editing shared/guarded_tenants.yml, click Publish. The new configuration becomes active within about one minute.

Choose between Inline and Monitoring mode

Choose and configure either of those two modes. This choice will also be required later in the setup. For new xorlab instances, the mode is normally already preconfigured.

Inline

Active protection. Emails pass through xorlab and are forwarded to the next system. This mode is required for productive integrations. Supports toothless operation.

Monitoring

xorlab receives only a copy of every email, and discards it after processing. This mode is used for temporary evaluations.

Configure Inline mode

For more information and explanations, see Inline and Monitoring Mode.
  1. In activeguard/core/active_guard.yml, configure the SMTP handlers and the sender/recipient extraction settings:
    active_guard.yml
  2. Open activeguard/mta/startup_cfg/postfix_custom/master.cf and set the following lines to bounce.
    master.cf
  3. Open activeguard/mta/startup_cfg/postfix_custom/main.cf and configure it like this.
    main.cf
  4. Optional: Enable toothless mode during learning phase. This will force xorlab to deliver all emails, even malicious ones.
    In toothless mode, xorlab will not take any actions on emails and always deliver them. This is only used for the first few weeks to avoid false positives during the learning phase. Afterward, this profile needs to be removed again. In toothless mode, you can search for #quarantine to find the emails that xorlab would have quarantined.
    guarded_tenants.yml
  5. Click Publish. The new configuration becomes active within about one minute.

Configure Monitoring mode

For more information and explanations, see Inline and Monitoring Mode.
  1. In activeguard/core/active_guard.yml, configure the SMTP handlers and the sender/recipient extraction settings:
    active_guard.yml
    For M365 integrations, set senderRecipientExtraction.senderExtraction to MAIL_ENVELOPE instead of HEADER.
  2. Open activeguard/mta/startup_cfg/postfix_custom/master.cf and set the following lines to discard.
    master.cf
  3. Open activeguard/mta/startup_cfg/postfix_custom/main.cf and configure it like this.
    main.cf
  4. Click Publish. The new configuration becomes active within about one minute.