spf-discuss
[Top] [All Lists]

Re: Starting spfd (FreeBSD)

2003-12-16 10:56:31
On Tue, Dec 16, 2003 at 09:34:03AM -0800, Mark Foster wrote:
Jasper Wallace wrote:
What user/group does your mta run as?

why not start the spfd with su or some other program of your choice to get
it to run as a particular group/user. (probably not a good idea to run it 
as
root!).

Same issue here...running exim as mailnull...

# su mailnull -c spfd -path=/tmp/spfd
This account is currently not available.

I suppose that running spfd then subsequently chown-ing it to mailnull 
should work, but then it's still running as root.

setuidgid from djb's daemontools should work.  sudo may work as well.

su does some things beyond just setting uid/gid that make it less ideal
for this sort of thing.

hdp.

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.4.txt
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡


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