Re: Using SMRSH

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Max Caines
CC: exim-users
Asunto: Re: Using SMRSH
On Fri, 13 Sep 1996, Max Caines wrote:

> I've been using 'smrsh' as the shell to process commands on "|" lines in
> .forward files in Smail, for security reasons. I'd like to do the same or
> similar with Exim, but I'm not sure how. The 'restrict_to_path' option
> doesn't do quite what I want, in that it doesn't _allow_ slashes in command
> names, while smrsh does but ignores all but the last component. Getting
> everyone who uses filtering or 'vacation' to change may be difficult. I'm
> not sure whether '$local_part' contains the bare command name, as '$user'
> does in Smail, or the full "|/dir/prog". Any suggestions on this?


In Exim, $local_part contains the userid of the user who caused the
pipe to run rather than the pipe command.

> I suppose I'm also suggesting that it would be nice if restrict_to_path
> ignored directory names in user-supplied command paths. After all,
> 'vacation' sets the .forward file up with its full path, and it's simpler if
> users don't have to correct this.


I feel uneasy at ignoring directory names in this way.


--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714