Custom Headers Allowlisting

Updated by Jacob Flinders

Below is a guide on how to set up custom headers for your organization and how to apply them in M365 Exchange in order to bypass filtering for Boxphish content.

  1. Head to your Boxphish portal HERE.
  2. Click the 'Tenancy' icon in the bottom left.
  3. Click on the 'Settings' tab.
  4. Under 'Email Header Configuration', Follow the instructions on-screen to create your own custom headers as shown below:

  1. Click the save icon in the top right hand corner of the screen.
  2. Keeping this page open for reference, head to M365 Exchange https://admin.exchange.microsoft.com/
  3. Expand the 'Mail Flow' tab on the left.
  4. Select 'Rules'.
  5. Under 'Rules', select the '+' icon, and then on the dropdown box, select ‘Create a new rule'.
  6. Name the rule as 'Boxphish Header Allow'.
  7. Under '*Apply this rule if...' select 'The Message headers...' and then 'matches these text
    patterns' as shown below:

  1. In the 'Enter text...' section, enter your custom header key.
  2. In the 'Enter words' section, enter your custom header value.
  3. Under ‘Do the following’, Select ‘Modify the message properties’ and then in the next
    dropdown box, select ‘Set the spam confidence level (SCL)’.
  4. A new window should now appear. Under ‘specify SCL’, make sure the drop-down option is
    set to ‘Bypass spam filtering’ and then click Save.
  5. Leave the remaining settings as default and click ‘Next’, ‘Next’ again and then ‘Finish’.
  6. After this window has closed, Make sure the rule is enabled by double-clicking on the
    policy name and clicking the ‘Enabled’ toggle when the window appears.
  7. Keeping the new window open, click on the ‘Edit rule settings’ button in the top right.
  8. Change the priority of the rule to be above any other inbound rule, or to ‘0’ as shown below:

  1. Scroll to the bottom and click ‘Save’.


How did we do?