MailEnable Professional Guide
Filter Criteria

Once a filter has been added, it will appear in the list of Filters under the following location within the administration console: MailEnable Management > Messaging Manager > Filters.

How to add/edit Filter Criteria

  1. Navigate to the following location within the administration console: MailEnable Management > Messaging Manager > Filters
  2. Right click on a Filter within the Filters list and select Manage...
  3. Double click on the desired criteria to open the criteria's properties window.
  4. Add an action and then click Close

By selecting the criteria, it is possible to edit the associated attributes or conditions. As long as any of the criteria is matched, then the action(s) will be performed.  Standard filtering when used in conjunction with each other will be considered with a case of OR separating the different criteria, for example;

Where the Subject header line contains specific words

OR

Where the message body contains specific words.

Note: To use criteria with AND gates or a combination or AND/OR then scripted filtering is required please visit Scripted Filtering

For filter criteria that rely on word or email address matching e.g. “Where Message Body contains specific words” or “Where the ‘To’ header line contains specific words”, wildcards can be used. Wildcards (*) can be used to locate a specific word that could be hiding in other words or characters (e.g. Filter identifies the word “porn” that is contained in the word Pornographic or 123porn1121).  Wildcards (*) can also be used to cover a range of email addresses.  The wildcard scenario can be used to complete an action on any message that arrives into the MTA from a specific domain. e.g. *@mailenable.com

Following is an explanation of each of the filter criteria.

Where the Subject header line contains specific words

Add and remove specific words to the criteria list by clicking the “Add” button. The criteria may be enabled or disabled by ticking the check box.

This filter is useful when incoming emails contain a re-occurring subject that needs to be filtered. Any word that is added into the filter list and is included within a subject line of a particular email going through the MailEnable MTA will be searched. If an exact match is found then the selected action (see 8.2.2 Filter actions) is completed.

Where the message body contains specific words

Add and remove specific words to the criteria list by clicking the “Add” button. This filter is locates specific words in the body of the message (e.g. Viagra).

Where the To header line contains specific words

This is used to specify a sender(s) email address. If an email address is matched, then the selected action is completed.

Enter email addresses here and then click the Add button. If multiple addresses are to be filtered, it is possible to add multiple addresses separated by a semi column - ensuring that no character spaces are contained in the entered line e.g. test@mailenable.com;test2@mailenable.com.au

Where the CC header line contains specific words

The Cc criteria line is the same as the To criteria line in that any word or email address entered here will be identified by the filter. Cc is an abbreviation of carbon copy and in business terms is usually equated to “For Your inclusion” or “For Your Perusal”.

Where the To or CC header line contains specific words

Filters words in the header lines in either of To and Cc fields. This is useful when messages contain a specific email address, that could be in the To or in the Cc fields of the message.

Where the From header line contains specific words

Filter messages that contain a specific email address or domain name in the headers of the email.

Where the message is marked as priority

Filter emails that contain a priority. E.g. filtering all mail with a high priority.

Where the message size is more than limit

Filter messages over a certain specified size limit. Tick the Size of message is greater than in the criteria properties window to enable the function and then specify the amount in bytes for the message size in the textbox.

Where the message has attachments
Filter particular file extensions attached to an email. To specify a file extension, the process is very similar to specifying email addresses or specific words. Simply type the file extension in the add window and select the Add button to add the file extension to the list. This filter can be used to find attachments containing viruses.  This does not disinfect the file, however, the file can be moved or deleted by using an appropriate action.

 

Where the message has an attachment
This filter is used if you are checking for any attachment in the email.

Bayesian filter spam probability

Filter to set the threshold for spam probability of Bayesian filtering e.g., define the filter to mark messages as junk if they have over 96.5% spam probability.  See Bayesian filtering section for information on configuring the Bayesian filter.

Where the message contains a virus

Scans a message for viruses using the virus checker (s) that have been configured in the antivirus settings.  See Creating a global filter section for information on configuring the antivirus plug-in.

All messages - Process this filters actions for all messages
This criteria is processed for all messages.
Where the SPF test return results matching

This criteria enumerates the SPF test performed by the SMTP Connector and returns a nominated result.

Where the sender has authenticated

This criteria is met when the person sending the message has authenticated before sending the message. This relates to whether the sender has undertaken SMTP authentication.

Where the originators IP address matches

This enumerates the IP address of the person sending the message. It relates to the IP address that the SMTP transaction was received from.

Where the message is associated with this post office

Specify the associated post office for the transaction. MailEnable will attempt to allocate an associated post office for each message.

Where the message came from this MailEnable connector

Enumerates the connector that the message is being delivered from.

Where the message contains a URL to a blacklisted IP address 

Filter will execute its actions if a URL to a blacklisted IP address has been detected within the message contents. This filter is useful to reduce the load on the SMTP service if many URL blacklists have been configured to perform lookups. The filter allows the MTA agent to perform the URL lookup after the message is routed from the SMTP inbound queue allowing the SMTP service to free resources quicker to accept messages.  

Where the MIME boundary headers contain specific words
Filter will action on words that are found within the MIME boundary headers
Where the sender IP address is whitelisted
Filter will action if the senders IP address is found within the SMTP whitelist
Where the message DKIM verification return results matching
Filter will execute based on the DomainKeys verification results. These are: Fail, Pass, Indeterminate

 

 


© MailEnable Pty. Ltd. All Rights Reserved.