PMDF System Manager's Guide
PMDF-REF-6.0


Previous | Contents

27.5.3 Example usage

Suppose that messages for the two addresses wombat@acme.com and sflovers@acme.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 acme.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.acme.com 
sflovers: sflovers@pipe.acme.com 
should be added to the alias file. Next, add the following entries to the pipe channel option file:
wombat@pipe.acme.com=/usr/local/uurec < %s 
sflovers@pipe.acme.com=/usr/local/uurec < %s 

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


Previous | Next | Contents