<< Click to Display Table of Contents >> Navigation: Event and Object Analysis > Capture Results Filtering > Filtration Basics > Rules > Actions > TRANSPORT action |
Sets the transport profile for the message to deliver it with after it is successfully processed by the filter with the ACCEPT action.
Description
If this transport profile has already been set for the message, the action does nothing.
You can set multiple transport profiles for the message by specifying multiple transport actions.
If no transport profile was applied to the message by the filters, the message (if it is accepted) will be delivered by the default profile.
Format
<action name="transport" value="<transport-profile-name>" />
The "name" attribute:
The name attribute contains the action name: name="transport".
The "value" attribute:
The value="..." attribute specifies the name of the transport profile.
Example:
Set the "smtp-archive" and "smtp-archive-rezerv" transport profiles for all messages. If a message is accepted by the filter, it will be delivered by BOTH profiles.
<?xml version="1.0" encoding="utf-8"?>
<filter name="Message filter" version="1.0">
<comment>Message filter.</comment>
<table name="main">
<rule enabled="1">
<comment>
Set the "smtp-archive" and "smtp-archive-rezerv"
transport profiles for all messages. If the message
is accepted by the filter, it will be delivered by
BOTH profiles.
</comment>
<action name="transport" value="smtp-archive" />
<action name="transport" value="smtp-archive-rezerv" />
</rule>
</table>
</filter>