PMDF System Manager's Guide


Previous Next Contents Index

28.5.3 Example Usage

Suppose that messages for the two addresses wombat@example.com and sflovers@example.com are to be processed by a site-supplied programs using the command


/usr/local/uurec < filename
where filename is the name of the input file to process.

Suppose further that example.com is the official local host name for the site so that entries for wombat and sflovers in the alias file will serve to redirect messages to those two addresses. Then, the entries


wombat: wombat@pipe.example.com 
sflovers: sflovers@pipe.example.com 
should be added to the alias file. Next, add the following entries to the pipe channel option file:


wombat@pipe.example.com=/usr/local/uurec < %s 
sflovers@pipe.example.com=/usr/local/uurec < %s 

With this configuration, messages for sflovers@example.com are rerouted to the pipe channel using the address sflovers@pipe.example.com. The pipe channel, upon receipt of the message, will then execute the supplied command to process the message.


Previous Next Contents Index