MailEnable Enterprise Guide
Filter criteria
Message Filtering > Mailbox Filtering > Filter criteria

Once a mailbox filter has been created double click the filter in the filter list to open the criteria and actions management window.

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


Where the message body contains specific words.

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. *

 Where the Subject 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 Message Body line 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 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.;

 Where the Cc 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 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 message is from the specified account

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 the 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

Filters out emails with any type of attachment, i.e. filters emails that contain attachments of any file extension.

 Where a message header contains specific words

Filters words within the message headers. Eg: any of the text before the blank gap before the message content (body).

 All messages - Process this filter actions on 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.