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 < filenamewhere
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.comshould 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.