Policies

The SecureMail Gateway allows you to create Policies that contain one or more Conditions that apply certain evaluation criteria to messages. Whenever a match is found, the Rules associated with it will be used to examine the message matching the policy.

To create a policy you must give it a name using the Policy Name: field and at least one of the following conditions.

IP Address of the message source

Use this condition to set an IP Address or a range of IP Addresses that will be used to match IP Addresses of computers sending message to the Gateway. When you select this condition a new Source IP Address Condition window will open where you can specify IP Addresses.

Advanced

Clicking this button will open a new window that allows you to set a selection of IP Addresses to one of four conditions. The conditions are as follows:

  • Contains any of the following – The rule will be applied if the Source IP Address contains one or more of the IP Addresses in the list.
  • Contains all of the following – The rule will be applied only if the Source IP Address contains every IP Address in the list.
  • Does not contain any of the following – The rule will be applied as long as the Source IP Address does not contain any IP Address in the list.
  • Does not contain all of the following – The rule will be applied only if the Source IP Address contains none of the IP Addresses in the list.

From contains people, domains or words

Searches the email addresses entered into the list on this window, for specific text. Single email addresses or patterns can be entered into this window’s list by using the following features.

Add

Adds a single email address to the list when text is entered into the text box.

Add Group

Adds a group of email addresses to the list based off of groups that have been defined in the User Groups section of the Gateway.

Use:

Allows you to select between Wildcards, Regular Expressions, or Predefined Regular Expressions. When using the Regular Expressions option, you will have access to the Expression Builder.

Selecting Predefined Regular Expressions allows you to load a list of regular expressions from a file. Note that this file must be loaded from the same directory as the Gateway’s executable. This file must be called RegExPresets.xml in order for it to be loaded.

Delete

Removes an email address from the list.

Edit

Allows you to change the name of an email address in the list. Note that when editing a wildcard entry, the edit button will open a new window containing information about the different types of wildcards available.

Advanced

Clicking this button will open a new window that allows you to set a selection of Email Addresses to one of four conditions. The conditions are as follows:

  • Contains any of the following – The rule will be applied if the From field of the Email Address contains only a single email address in the list.
  • Contains all of the following – The rule will be applied only if the From field of the Email Address contains every email address in the list.
  • Does not contain any of the following – The rule will be applied as long as the From field of the Email Address does not contain any email address in the list.
  • Does not contain any of the following – The rule will be applied only if the From field of the Email Address contains none of the email addresses in the list.

Header field contains specific words

Searches the Headers of email messages for text matches listed on this page. This condition repeats every feature available in the From contains people, domains or words condition.

The only exception to this is the Import button, which allows you to import a file that is either static or dynamic.

For all messages

Applies the conditions set by the Policy to every message.

Toggle And / Or

Clicking this button will cause condition matching to be evaluated individually or in combination. The “Or” logic will cause the conditions to trigger the policy only if one of the conditions is matched. The “And” logic will cause the conditions to trigger the policy only if both conditions are matched.

Updated on February 19, 2018

Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to create a support ticket
Request Support