At 11:21 AM Thursday 8/12/99, Russell Nelson wrote:
>John Conover writes:
>  > As per the "standard" qmail installation for uucp, I have a
>  > /var/qmail/alias/.qmail-uucp-default of:
>  >
>  >     '|preline -d /usr/bin/uux - -gC -a"${SENDER:-MAILER-DAEMON}" 
> uucphost!rmail "($DEFAULT@$HOST)"'
>  >
>  > when there is outgoing email to uucphost, what program executes the
>  > uux command, and what is its UID and GID when it does it?
>
>preline executes uux.
>
>grep ^alias: /etc/passwd | awk -F: '{print "UID=",$3," GID=",$4}'


More generally. The execution of qmail-local and children (which implies
commands run from within a .qmail file) are *always* run as the user
associated with the .qmail file. In this case it is the user 'alias' as Russ
suggests, and typically the UID/GID will come from /etc/passwd - but
possibly /var/qmail/users


Mark.


Reply via email to