This page allows you to add a new outbound rule for the current domain. Outbound processing rules filter messages that are being sent out through IMail Server to non-local addresses and can only be created at the domain level. Outbound processing rules for the mail host are stored in the orules.ima file, which is located in the IMail top directoryhostname.
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 processing 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 Rule 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 Addresses 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 Addresses box.
Bounce. Bounces the message back to the sender, without delivering it.
Note: If you choose either Send with Copy to or Redirect to, you must also enter an address in the Address text box.
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 5 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 6 and 7.
Tip: To delete any single line from the Rule 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 Rule text box and click either Move Up or Move Down.
Adding an Inbound Rule for a Mail Host
Modifying an Existing Outbound Rule
Storing Search Text in an External File