Re: Patch to run as "nullmail"

Charles Cazabon <[email protected]> Sun, 29 May 2005 09:54:08 -0600
Newsgroups gmane.mail.nullmailer
Message-ID <[email protected]>
Clint Pachl <[email protected]> wrote:
> Because the install script (make install-root) requires the user
> "nullmail", I thought it might be convenient to have nullmailer-send
> set its own uid at startup. I'm not using any daemonizing/supervising
> tools to manage nullmailer. Could also make this a switch on the cmdl.
> Are there any problems with this configuration?

Running as that user is fine, but it shouldn't require the addition of any
code to nullmailer.  This can be done in the shellscript that runs nullmailer
using any tool you like -- the djb-esque approach is `setuidgid` or similar.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                       <[email protected]>
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------