If you need to frequently update and distribute the delivery rules search text, you can use external text files to store the search text. External files were designed to allow frequent updating of rules without creating a new rule.
Important: The external text file must have a file extension of ".rul"
and it must exist in the same directory as the "rules.ima"
or "orules.ima"
file.
Example:
(mortgage|loans|credit offer), where the pipes mean "or" and separate the conditions. Usage of the "and" condition is not permitted in a ".rul"
file. Also, the ".rul"
file must be located in the same directory as the "rules.ima"
or "orules.ima"
file.
To illustrate this, the administrator can use this method to catch mail from known spammers. The administrator might create a text file named "spam1.rul". Each time a new spammer address is discovered, the administrator can add it to the "spam1.rul"
file. The "rules.ima"
or "orules.ima"
file can reference the text file named "spam.rul"
. The procedure for storing search text in an external file is the same for Inbound and Outbound rules. For more information, see External Text File Example and Rule Syntax.
To create a delivery rule that references an external text file:
".rul"
extension."rulefilename"
where "rulefilename"
is the name of the ".rul"
file you want to reference.".rul"
file. Do not enter the file extension .rul because IMail will append it to the filename you enter.Related Topics