Skip to main content
Prerequisites
Follow one guide of the following that fits your target architecture:

Inline (Add-on)

Default. xorlab is located between your gateway and exchange server.

Inline (Gateway)

xorlab is the gateway and receives/sends emails from/to the internet.

Monitoring

xorlab receives only a copy of every email, and discards it after processing.

Configure as Inline add-on

As Inline add-on, xorlab will:
  • Deliver incoming emails to <inbound-next-hop> (usually an Exchange server)
  • Deliver outgoing emails to <outbound-next-hop> (the Gateway)
Follow these steps:
  1. Go to activeguard/mta/startup_cfg/postfix_custom/ in the Expert Editor.
  2. Open main.cf and enable transport_maps:
    main.cf
  3. Open transport. Create it if it does not exist. Add a line for every guarded domain with <inbound-next-hop> and one line for all outgoing emails with <outbound-next-hop:
    transport
    By default, subdomains need to be added separately. Please see Subdomain matching to change the default.
    You can specify fallbacks if the first destination is not reachable: smtp:[1.2.3.4],[2.2.2.2].
  4. Open client_access and add the IP of every email server that will send emails to xorlab:
    client_access
  5. Click Publish. The inline add-on configuration becomes active within about one minute.

Configure as Inline gateway

As Inline gateway, xorlab will:
  • Deliver incoming emails to <inbound-next-hop> (usually an Exchange server)
  • Deliver outgoing emails directly to the external recipient
Follow these steps:
  1. Go to activeguard/mta/startup_cfg/postfix_custom/ in the Expert Editor.
  2. Open main.cf and enable transport_maps:
    main.cf
  3. In main.cf, add all guarded domains as relay_domains:
    main.cf
  4. Open transport. Create it if it does not exist. Add a line for every guarded domain with <inbound-next-hop>:
    transport
    By default, subdomains need to be added separately. Please see Subdomain matching to change the default.
    You can specify fallbacks if the first destination is not reachable: smtp:[1.2.3.4],[2.2.2.2].
  5. Open client_access and add the IP of every email server that will send emails to xorlab:
    client_access
  6. Click Publish. The inline gateway configuration becomes active within about one minute.

Configure for Monitoring

In Monitoring Mode, xorlab discards all received emails. Here we configure the routing for emails that are generated by xorlab itself (for example feedback notifications).
  1. Go to activeguard/mta/startup_cfg/postfix_custom/ in the Expert Editor.
  2. Specify the relay destination in the main.cf file:
    main.cf
  3. Open client_access and add the IP of every email server that will send emails to xorlab:
    client_access
  4. Click Publish. The monitoring configuration becomes active within about one minute.

Next steps

Forward emails to xorlab in the mode you chose: