Automatically create as many Content Rules as desired in Messaging Gateway
|Article:TECH181307|||||Created: 2012-02-13|||||Updated: 2012-02-13|||||Article URL http://www.symantec.com/docs/TECH181307|
This document contains instructions and steps on how to automatically create any desired number of Content Rules in a Symantec Messaging Gateway (SMG) appliance.
Symantec Messaging Gateway 9.5.2, 9.5.3
The "iMacro" provided in this article will create the desired number of Content Rules, each one constructed as follows:
- Name: "CF_<number>"
- Conditions: "If Subject contains 1 or more occurrences of 'testme #<number>'"
- Actions: "Delivery Normally"
- Applied to: "All groups"
Automatically create # Content Rules
Download and install Mozilla Firefox: http://www.mozilla.org/en-US/firefox
Install the 'iMacros' add-on: https://addons.mozilla.org/en-US/firefox/addon/imacros-for-firefox
Download the iMacro file named "SMG_CFRules.iim" from the attachments section below.
Edit the file and enter the correct IP address of the SMG appliance in place of "<your_SMG_IP>"
Copy the iMacro file to the predefined macros folder in iMacros (check the iMacros add-on settings for the folder's location).
Open Firefox and connect to the SMG Control Center.
Open the 'iMacros' side pane by clicking on the icon next to the 'home page' one.
The iMacro named "SMG_CFRules.iim" should be visible in the side pane.
Select the file and click on the "Play" tab below, then enter the number of desired groups to create under the "Repeat Macro" section.
When ready, click the "Play (Loop)" button to start the automatic groups creation.
Article URL http://www.symantec.com/docs/TECH181307