On Fri, 30 Jul 2010 20:40:45 -0700 (PDT) John Hardin <jhar...@impsec.org> wrote:
> On Sat, 31 Jul 2010, RW wrote: > > > On Fri, 30 Jul 2010 13:06:43 -0700 (PDT) > > John Hardin <jhar...@impsec.org> wrote: > > > >> On Fri, 30 Jul 2010, Bowie Bailey wrote: > >> > >>> service spamd start > >>> - run your stuff > >>> service spamd stop > >> > >> I don't think the OP wants to mess around with the global system > >> services, so it's not _quite_ that simple... > > > > Actually it is. You can run spamd as an ordinary user. > > "service spamd" executes the system-level init script for the global > spamd. It has nothing to do with running spamd as an ordinary user. Quite, but if all you need to do is use spamc in a script, you don't need to run spamd at the system-level, you don't even need to run it as a daemon. Running it as an ordinary user makes it trivial to incorporate into a wrapper script.