nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] setuid/setgid in nmh


From: David Levine
Subject: Re: [Nmh-workers] setuid/setgid in nmh
Date: Sun, 02 Feb 2014 23:22:55 -0500

Robert wrote:

> And it is impossible for slocal to ever be used as the mail delivery
> agent (the way procmail can be, or example) - so it gets run as root, but
> told which user it is to deliver the mail for ?

Good point:  I restored the setuid/setgid to slocal and added
checks of the return values.

> Don't omit NetBSD from that list .... it normally also uses flock()
> (that is, open(..., O_EXLOCK, ...) ) for manipulating the mail delivery
> file,

Thanks, we don't currently detect that for NetBSD.  I'll add it.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]