nmh-workers
[Top] [All Lists]

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

2014-02-02 22:23:36
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

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

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