Log a Message action
The Log a Message action writes a line of text to the Policy Enforcement log. You can specify the conditions required to generate the log entry and enter the log text (up to 160 characters). This action can be added to all content rules.
You can include supported tokens in your log text. |
Apply the action to a content rule
- Inside the What To Do? area of the content rule, click
New next to the What Else to Do? action.
The Add a What to Do Action dialog appears. - Select the action from the list.
The action is automatically added to the What Else To Do? area. - Close the Add a What to Do Action dialog.
Configure the action
- Beside the Log a Message action in the What Else To Do? area, click Click here to change these settings.
-
Specify the conditions for When the message is logged:
- If the "What to Look For?" conditions are met
- If the conditions are met AND the disposal action is performed
- If the conditions are met BUT the disposal action is not performed
-
When the selected condition is met, the text entered in the Using this text field is sent.
What tokens can I use here?
Token Description %ADMIN% The administrator account email address used by the Policy Engine.
%AREANAME% The name of the message area containing the message.
%DATE% The date the original message was sent.
%POLICY% A list of the content rules invoked on the message.
%RCPTS% A list of the recipients. (This is a concatenated list of all the "Recipient" responses.)
%SENDER% The email address of the sender of the original message.
%SERVER% The Clearswift Gatewayserver email address.
%SUBJECT% The subject of the original message.
%UNIQUEID% The Mail ID: the unique ID Clearswift Gateway assigns to a message.
- Click Save.
|
To edit a previously created Log a Message action, follow the steps in Configure the action to change the current settings. |
Remove the action from a content rule
Inside the What To Do? area, click next to the What Else to Do? action you want to remove and confirm the deletion.