Adding and Modifying Inbound Processing Rules for Users

Inbound processing rules can be used to sort incoming mail messages into specific mailboxes for each user based on the contents of the To, From, Sender, Subject, the entire message Header or Body fields. Processing rules for users are stored in the rules.ima file, which is located at IMail top directory\users\username.

Adding a processing Rule for a User

  1. From the Field box, select the field that you want the rule to search. You can select from (Subject, To, From, Sender, Header and Body).

  2. Select contains to have the processing rule look for messages that contain the search string; select doesn't contain to look for messages that do not contain the string.

  3. To enter search text, you can either enter it into the PHRASE text box as described below, or specify an external file that contains the search text you want to use.

Enter the search text by doing one or more of the following:

  1. Select Search string from file if you have placed the search text in an external  text file. The list box shows a list of the existing rule files.

  2. Turn on Case Sensitive Match to search for text that matches the case of the search text. To ignore case, clear Case Sensitive Match.

  3. Click Add Condition. The condition that you just created is added to the rule and is displayed in the Rule text box.

  4. Specify what will be done with messages meeting the rule criteria by choosing one of the following options:

    1. Send the message to a mailbox. Select Move the message to this mailbox. Then, in the text box to the right of this option, enter the name of the mailbox to which messages meeting the rule criteria will be sent. If you enter a mailbox that does not exist,  one will be created for the user on the IMail Server system. A POP3 user will see this mailbox only if he logs on to this mailbox using the format userid-mailbox. By default, if nothing is entered in this text box, messages meeting the rule criteria will be sent to the user's Main mailbox.

    2. Send the message to an address. Select Forward the message to. Then, in the text box to the right of this option, enter the e-mail address, of the person or list, to which messages meeting the rule criteria will be sent. You must enter the full e-mail address, such as [email protected]

    3. Delete the message. Select Delete the message to delete the message.

Note: The above three options cannot be combined, you must choose only one.

  1. If this is the only condition you want the rule to have, click Finish and the rule will be activated. If you want to add more conditions, read the next section.

Adding Multiple Conditions

To add more than one condition to a rule, create the first condition by following steps 1 through 6 above and then click either the "Insert AND" or the "Insert OR" button. Create the second condition as you did the first, then proceed to steps 7 and 8.

To edit an existing processing rule:

  1. Select the condition that you want to change from the Rules text box. The previously grayed out options will display the settings for the rule.

  2. Edit the rule as desired and click Update Condition.

  3. Click Finish to save your changes.

Changing the Processing Order of Conditions

To change the processing order of a condition  in the list, select a condition and click Move Up or Move Down.

Deleting a Condition from a Rule

To delete a condition, select the condition from the Rules text box. Then click Remove. You must then click Finish

to save your changes.