Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!ateng!chip From: chip@ateng.com (Chip Salzenberg) Newsgroups: comp.mail.misc Subject: Re: Can I use the "filter" program? Probably. Keywords: elm filter smail sendmail deliver Message-ID: <1989Jun14.125010.21078@ateng.com> Date: 14 Jun 89 12:50:10 GMT References: <778@cjsa.WA.COM> <1989Jun1.193715.908@ateng.ateng.com> <14320@pasteur.Berkeley.EDU> <259@ethz-inf.UUCP> <1989Jun7.104600.25715@ateng.ateng.com> <587@becker.UUCP> Organization: A T Engineering, Tampa, FL Lines: 29 According to bdb@becker.UUCP (Bruce Becker): >According to chip@ateng.com (Chip Salzenberg): >>Unfortunately, Smail 2.5 does >not< support "|program" aliases, whether in >>.forward files or elsewhere. Smail 3.1 does; in fact, my ".forward" file >>contains "|/usr/bin/deliver chip". > > A person I know has made a simple patch to smail 2.5 > which allows it to support "|program" aliases. > > If people are interested I will try to get him to > post his changes to tne net. I just want to warn everyone that I did exactly that, once. However, if the patch is "simple" then its security must be little or none. Do you want a feature if it lets your users execute arbitrary programs as "uucp"? Instead of hacking on Smail 2.5, I suggest that anyone who wants to pipe their mail to a program pick up Deliver, a program designed to be used (among other things) as a back-end to Smail 2.5. Deliver is robust and was designed with security in mind. Further, it automatically splits incoming messages into two files, the header and the body, for easier processing. (Yes, they are merged when the mail is delivered. :-)) And delivery files, which are executed when mail arrives, are shell scripts; so you can do anything you want in them. -- You may redistribute this article only to those who may freely do likewise. Chip Salzenberg | or A T Engineering | Me? Speak for my company? Surely you jest!