This article explains how to configure SecurityGateway’s sieve scipts system, including adding a new script for processing of incoming mail, or to change the order in which scripts are processed, if you wish to run a certain script before another.
From the Dashboard, after logging in:
You will then see SecurityGateway’s Sieve Scripts list, with a number of default scripts corresponding to the various security processes that are run on incoming messages. The list is divided into multiple categories, depending on what event of the incoming session they pertain to:
There are also a number of columns, describing information about the scripts:
To add a new rule, click on the New button along the top to bring up the Rule Editor window, and specify the name of the rule, which event during the connection process that it applies to, and choose either a global scope to affect the entire server, or a specific domain. Choosing Domain will bring up a fourth option to specify which domain it applies to. Once you are done, click on Save and Close to close the window.
To edit a rule, select the rule in question you wish to edit, and click on Edit along the top to bring up the Rule Editor window. Make any changes to it you wish, then click on Save and Close to close out the window. Note that system defined scripts (scripts created automatically by SecurityGateway by changing settings) cannot be edited directly.
More information on how to create new sieve-rules can be found in the SecurityGateway helpfile, which can be opened by clicking the ‘Help’ link in the upper-right corner of the SecurityGateway window.