External Filters |
||||||||||||||||||||||||||||||||||||||||||||||||
|
To use an External Filter program, open the General page in the Settings section of the WebAdmin Interface and click the Helpers link. The Helpers page is displayed:
To specify a new External Filter program to run, use the last element in this table. Assign some name to the Filter program and enter it into the Use Filter name field. You will use this name when you specify the ExternalFilter Rule conditions. Enter the program path and other options, and click the Update button.
To remove an External Filter program, enter an empty stirng into its Filter name field, and click the Update button.
Each External Filter program has the following options:
Note: always use the backslash (\) path separators if the CommuniGate Pro Server runs on a Microsoft Windows platform.
Note: on Unix platforms, if you want to specify parameters that include spaces or other special symbols, enclose them into the quote (") symbols. On other platforms, use the platform-specific agreements for command line parameters.
Select the check box and click the Update button to start the External Filter program. If the program cannot be started, an error message appears on the Helpers page.
If the Auto-Restart parameter is not set to Disabled, the CommuniGate Pro server detects the External Program termination, waits for the specified period of time, and then restarts the External Program automatically. Then it resends all pending requests to the newly started External Program and resumes normal request processing.
If the Auto-Restart parameter is set to Disabled, you need to open the Helpers WebAdmin page and click the Update button to force the Server to restart the External program.
Messages are scanned only when the checkbox next to the Filter name is selected. You may want to unselect the checkbox to let messages bypass this External Filter program. If the filterName checkbox is not selected, the ExternalFilter filterName Rule operation is a null operation (it does nothing).
If you want to scan only some messages, add condition(s) to this Rule. The following sample Rule check the size of a message, and uses the McAfee External Filter program to scann only those messages that are larger than the specified limit:
External Filters are contacted from the Server ENQUEUER threads. Since it can take serveral seconds to process a large message, increase the number of ENQUEUER processors (threads) using the Queue page in the WebAdmin Settings section. This allows the CommuniGate Pro Server to continue message enqueueing even when a large message scan is in progress.