Defining Rules in User Objects

In NetMail 3.5, you can define simple or advanced rules for a particular user within the User object. Simple rules allow you to apply actions to messages matching any or all of the defined conditions. Advanced rules allow you to use AND/OR operators in your condition statements.

To create a rule for a specific user:

  1. Select the User object in WebAdmin.

  2. In the User object, click Internet Mail > Rules > New.

  3. Select the type of rule you want to define.

    1. Click Simple and select Any or All to create a rule that applies actions to messages matching any or all of the defined conditions.

    2. Select Advanced to create a rule with AND/OR operators in your condition statements.

  4. Define the rule conditions.

    1. In the first drop-down list, define which Message Field option you want to monitor, such as From, To, Subject, and so forth.

      For example, if you want to move all messages from a specific sender to a separate folder, select From as the Message field you want to monitor.

    2. In the second drop-down list, define the condition for the rule.

      For example, when you select From, the second drop-down list allows you to select either Contains or Does Not Contain. If you select Contain, all messages that contain your sender's e-mail address are monitored as part of the condition of the rule.

      The condition options vary depending upon the Message Field option you select. For example, if you change the Message Field option to Size, the Condition options are More Than or Less Than.

    3. In the Variable Information field, specify the condition criteria.

      For example, in our previous scenario, you would enter the sender's e-mail address.

    The following information shows you available condition options for your condition statement:

    Condition Drop-Down List (Message Field Options) Condition Drop-Down List (Secondary Condition Options) Variable Information

    From

    contains or does not contain

    text

    To

    contains or does not contain

    text

    Subject

    contains or does not contain

    text

    CC

    contains or does not contain

    text

    Header

    contains or does not contain

    text1 text2

    IMPORTANT:  Do not use a colon ( : ) in the text2 field. For example, if you want the rule to act on a value in the header's Received field, type Received not Received: .

    Body

    contains or does not contain

    text

    Size

    is more than or is less than

    size in KB

    Calendar Item

    does not conflict or conflicts

    NA

    Attachment

    MIME type Is or MIME type is not

    MIME type

    Apply to All Messages

    NA

    NA

  5. Click plus (+) or minus (-) to add and remove up to 15 condition statements.

  6. If you are defining an Advanced rule, use the OR/AND operators to define how each condition statement is applied.

  7. Define the rule action.

    1. In the first drop-down list, define the action that you want performed, such as Move To, Delete, Forward To, and so forth.

      For example, if you want to move all messages you receive from a specific sender to another folder, select Move To.

    2. In the second drop-down list, define the completion of the action.

      For example, if you want select Move To, the drop-down list allows you to select which folder you want to move the messages to.

    The following table shows the available action options:

    First Action Drop-Down List Second Action Drop-Down List

    Move To

    Drop-down list of available folders, such as INBOX, Sent, etc.

    Delete

    NA

    Forward To

    e-mail address

    CC To

    e-mail address

    Accept

    NA

    Decline

    NA

    Stop Processing

    NA

    NOTE:   The Stop Processing action terminates rule processing. If a message matches the condition for a Stop Processing action, the Rule Agent stops processing the current message. Otherwise, the Rule Agent goes through every rule defined for the current user.

  8. Click plus (+) or minus (-) to add and remove up to 15 action statements.

  9. When finished, click Save.

NOTE:   If you give users access to the Rules feature in the Parent or User objects, they can define their own rules in WebAccess and Webmail.