MailEnable Enterprise Guide
Message Filtering / Postoffice Filtering / Filter Criteria
In This Topic
    Filter Criteria
    In This Topic

    Once a filter has been added, it will appear in the list of Filters where criteria and actions can be assigned to the filter. Double click on the filter to open the filters criteria and actions 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.

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

     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.