Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!tolsoft!tron From: tron@tolerant.com (Ron Karr) Newsgroups: comp.mail.uucp Subject: Re: Smail3.1 and Filter Keywords: piping mail to filter Message-ID: <1990Jul15.012254.10574@tolerant.com> Date: 15 Jul 90 01:22:54 GMT References: <1149@netwrx1.UUCP> Reply-To: tron@tolsoft.UUCP (Ron Karr,,439,) Organization: Tolerant Software Lines: 29 In article <1149@netwrx1.UUCP> graham@netwrx1.UUCP (James Graham) writes: > > I am using Smail3.1 patch level 18 on an AT&T 3B2 with SVR3.1. I >am trying to use the "pipe" transport to utilize the "filter" program >provided with ELM 2.3. It appears that when Smail locates the .forward >file it executes the shell as the sender userid rather the the userid >for which the filter is assigned. This causes problems. Any clues as to what my >configuration error might be, I would appreciate any assistance. > > .... > >pipe: driver = pipe, # pipe message to another program > return_path, local, from, unix_from_hack; > > cmd = "/bin/sh -c $user", # send address to the Bourne Shell > parent_env, # environment info from parent addr ># pipe_as_user, # use user-id associated with address > umask = 0022, # umask for child process > -log_output, # do not log stdout/stderr > ignore_status, # exit status may be bogus, ignore it > ignore_write_errors, # ignore broken pipes One problem could be that you turned off this capability by commenting out the pipe_as_user attribute. This is the attribute that tells smail3 to use the appropriate user of the .forward file as the user for executing programs in the .forward file. -- tron |-<=>-| ARPAnet: tolsoft!tron@apple.com tron@tolerant.com UUCPnet: {amdahl,apple,hoptoad}!tolsoft!tron