Configure Scan Rule
Last updated
Was this helpful?
Last updated
Was this helpful?
The Scan rule is used to select emails for scanning. This rule adds a Nightfall header to all the emails that are to be scanned.
To create Scan rule:
Login to your Google Workspace with an admin account.
Click the menu icon.
Select Admin.
In the left menu, expand Apps and then expand Google Workspace.
Click Gmail.
Scroll down and click Compliance.
Scroll down to the Content Compliance section and click ADD ANOTHER RULE. (If you have not created any Compliance rule previously, the button might be displayed as CONFIGURE).
Enter a name for the compliance rule.
Select Outbound and Internal - Sending checkboxes in the Email messages to affect section.
Select the If ANY of the following match the message option.
Steps 11 to 16 help you create a Compliance rule to block emails.
Click ADD.
In the Add setting dialog box, select the Advanced Content match option.
In the Location drop-down menu, select Full headers.
In the Match type drop-down menu select Not Contains text.
In the Content field enter x-nightfall-scanned. x-nightfall-scanned is a header that is added to emails that Nightfall scans. This condition ensures that all unscanned emails go through the scanning process.
Click SAVE.
The condition expression is created as follows. This ensures all emails that are not yet scanned by Nightfall need to be scanned.
You must now configure rules to route the email towards Nightfall for scanning.
17. In stage 3, select Modify message.
Under the Headers section, select the Add X-Gm-Original-To header check box.
Under the Envelope recipient section, select the Change envelope recipient check box.
Click SAVE.
In the Replace recipient field, enter . This is the email address to which emails must be routed for scanning.