| Previous | Next | Contents | Index |
The first step is to add the script channel to the PMDF
configuration file. The entry should have the form:
script SCRIPT-DAEMON |
Rewrite rules can be added if desired to make it possible to queue mail
explicitly to the script channel. Something like
script $U%script.localhostname@SCRIPT-DAEMON script.localhostname $U%script.localhostname@SCRIPT-DAEMON |
localhostname is the name of the local PMDF
system, provides the necessary functionality. Once this is done,
addresses of the form
user%host@script.localhostname |
script channel regardless of what
the SCRIPT mapping says.
Additional script_* channels may be defined, for example
to allow for different command procedures or scripts to be run for
different source or destination channels. For example:
script_2 SCRIPT2-DAEMON |
These alternate script channels are generally selected using the
SCRIPT mapping table Channel keyword (see
Table 24-7). If desired, you may also create separate rewrite rules
for each of these alternate script channels, similar to the ones shown
above.
A channel named script must be defined to
enable script channel processing. This channel is used as the default
script channel.
|
| Previous | Next | Contents | Index |