Adding an Outbound Rule For a Host

This page allows you to add a new outbound rule for the current domain. Outbound rules, rule messages that are being sent to non-local addresses and can only be created at the domain level.  Outbound rules for the mail host are stored in the orules.ima file, which is located in the IMail top directory\hostname.

Creating a New Outbound Rule

  1. 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 rule look for messages that contain the search text. Select does not contain to look for messages that do not contain the search text.

  3. In the Phrase text box, enter the search text that you want the rule to search for. 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. Check 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. Select Case sensitive match to search for text that matches the case of the search text; to ignore case, clear the Case sensitive match box.

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

  4. In the lower section of the page, select the action you want to occur when a message is caught by the rule. You can choose only one of the following actions:

  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 multiple conditions to the rule 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 Insert AND or Insert OR. Create the second condition as you did the first, then proceed to steps 7 and 8.

Tip: To delete any single line from the Rules text box, select the line to delete and click Remove.

Changing the Processing Order of Conditions

Conditions are processed in the order that they appear from top to bottom, as boolean expressions. To change the processing order of a condition, select the condition in the Rules text box and click either Move Up or Move Down.

 


Related Topics

Overview of Rules

Adding an Inbound Rule for a Host

Modifying an Existing Outbound Rule

Storing Search Text in an External File

Adding Multiple Conditions to Rules

Determining which Rule Trapped a Message