Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!snorkelwacker!mit-eddie!uw-beaver!ssc-vax!bcsaic!sundry!wsc-sun!slm From: slm@wsc-sun.boeing.com (Shamus McBride) Newsgroups: comp.unix.wizards Subject: sendmail, /etc/aliases command, what's supposed to happen? Keywords: sendmail Message-ID: <273@shuksan.BOEING.COM> Date: 29 May 90 21:08:37 GMT Article-I.D.: shuksan.273 Organization: Boeing Computer Services (ESP), Seattle, WA Lines: 34 The situation: SUN OS 4.0.3 /etc/aliases contains the command: mlist:kae,slm,"|/wsc-sun2/local/ml/mlist-l-saver" When mail is received for "mlist", sendmail forks and runs mlist-l-saver. The mlist-l-saver process runs as uid=daemon, gid=daemon (normally). However, when the received mail was sent from the host machine (wsc-sun), the user-id and group-id of the forked command process are set to the user-id and group-id of the sender rather than daemon. This happens even when the mail has left the local net and gone to a mail reflector at Berkeley and then come back! The question: Is this the way it's supposed to work? Given a "command" as the destination of an address in /etc/aliases, under what user-id, group-id should the command process run? Shamus Mc Bride | slm@wsc-sun.boeing.com Boeing Computer Services | slm%wsc-sun@atc.boeing.com (206) 865-5047 | uw-beaver!bcsaic!wsc-sun!slm DISCLAIMER:opinions are mine alone, not necessarily those of The Boeing Company. -- Shamus Mc Bride | slm@wsc-sun.boeing.com Boeing Computer Services | slm%wsc-sun@atc.boeing.com (206) 865-5047 | uw-beaver!bcsaic!wsc-sun!slm DISCLAIMER:opinions are mine alone, not necessarily those of The Boeing Company.