nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c

2005-05-18 07:13:23
Ken Hornstein <kenh(_at_)cmf(_dot_)nrl(_dot_)navy(_dot_)mil> wrote on May 16, 
2005:

(AFAIK sendmail and friends always run stuff under the user's real and
effective uid, so I don't think slocal should ever be setuid).

If you run "slocal" from ".forward", then it runs as the recipient
(the person using ".forward").  But there are advantages to running
slocal as a mailer defined in sendmail.cf

Current sendmail allows you to run as the recipient, even when
defined as a mailer.  However there was a time when sendmail would
run a mailer as either the sender uid or daemon, but would not run as
the recipient uid.  You could set sendmail to run it with sendmail's
permissions, which in effect made slocal setuid root for that
invocation.

We must also remember that there are other MTAs than sendmail.

 -NWR


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>