Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!ateng!chip From: chip@ateng.com (Chip Salzenberg) Newsgroups: comp.mail.uucp Subject: Re: Smail, Aliases & Programs Message-ID: <2545C1E8.6969@ateng.com> Date: 25 Oct 89 14:23:34 GMT References: <590@piglet.vision.UUCP> <1549.254492d7@mccall.uucp> Organization: A T Engineering, Tampa, FL Lines: 19 According to tp@mccall.uucp: >> info-server | /some/program/or/other > >[...] what I did (using an earlier version of smail that didn't have >aliases at all) was rather than renaming smail to rmail and handing it the >mail directly, I wrote a shell script named rmail. It looked at its >parameter and checked it against an alias list. If anyone else is thinking of doing such a thing, be sure that the script can handle _multiple_ parameters. To support this necessary feature, the script will have to copy the message to a temporary file, since it may be fed to several different programs. That's what Deliver does. (You saw it coming, didn't you?) -- You may redistribute this article only to those who may freely do likewise. Chip Salzenberg at A T Engineering; or "'Why do we post to Usenet?' Naturally, the answer is, 'To get a response.'" -- Brad "Flame Me" Templeton