tpo@dde.dk (Thomas Peter Sonne Olesen) (06/19/89)
jeff@cjsa.WA.COM (Jeffery Small) writes: >Thanks to everyone who suggested using "deliver" to solve my mail forwarding >problem. >In article <259@ethz-inf.UUCP>, wyle@inf.ethz.ch (Mitchell Wyle) writes: >> >> BTW: I recommend that Jeff use the "forward" system which comes with elm. >> I think smail will read his .forward file to start elm's filter >> program. >> >Just as a point of clarification, my copy of smail 2.5 does not mention or >appear to support the .forward mechanism of sendmail. I have heard that this >capability will be included in smail 3.x whenever that is released from >beta testing. I have realised that I will never succed to convince my company that they should change mailer and use smail and deliver; but still I want to use the filter program. Many mailers support a pipe feature in the aliases file - lines with a syntax like : tpo |some-kind-of-program unfortunately this means that the filter program will be executed by the user that sends the mail, which means that filter cannot determine the HOME directory of the reciever. To solve this problem I have made a small patch in filter, so the user id can be specified as parameter filter -utpo I'm willing to post the patch if it has any interrest. /Thomas -- ***************************************************************************** Thomas P.S. Olesen Dansk Data Elektronik A/S E-mail: ..!uunet!mcvax!dkuug!dde!tpo System Software Department or tpo@dde.dk
dik@cwi.nl (Dik T. Winter) (06/20/89)
In article <596@Aragorn.dde.dk> tpo@dde.dk (Thomas Peter Sonne Olesen) writes: > Many mailers support a pipe feature in the aliases file - > lines with a syntax like : > > tpo |some-kind-of-program > > unfortunately this means that the filter program will be executed by > the user that sends the mail, which means that filter cannot determine > the HOME directory of the reciever. > If this command is executed by the user that sends the mail: disable the feature! This is a gigantic security hole. -- dik t. winter, cwi, amsterdam, nederland INTERNET : dik@cwi.nl BITNET/EARN: dik@mcvax