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.
Select the field that you want the rule to search. You can select from Subject, To, From, Sender, Header and Body.
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.
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:
Enter the literal text (up to 255 characters) that you want to search for. For example, if you want to find the word jazz, type: jazz.
Type search expressions and quantifiers as shown in Text Patterns.
Paste a portion of a mail message that meets your search criteria. For example, you could copy and paste text such as "XMSMailPriority(High)" from the header of a message; this would search for High priority messages.
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.
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.
Click Add Condition. The condition that you created is added to the rule and is displayed in the Rules text box.
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:
Send. Processes the message as normal by sending it to the addressee.
Send with Copy to. Processes the message as normal by sending it to the addressee, and also sends a copy to the address that is entered in the Destination text box.
Delete. Deletes the message.
Redirect to. Does not send the message to the addressee. Instead, the message is re-directed to the address that is entered in the Destination box.
Bounce. Bounces the message back to the sender, without delivering it.
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.
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.
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.
Adding an Inbound Rule for a Host
Modifying an Existing Outbound Rule
Storing Search Text in an External File