What should I do about "still running as root" messages?

Mar 10 14:44:30 mail spamd[290]: spamd: connection from localhost [127.0.0.1] at port 62538
Mar 10 14:44:30 mail spamd[290]: spamd: setuid to root succeeded
Mar 10 14:44:30 mail spamd[290]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody Mar 10 14:44:30 mail spamd[290]: spamd: processing message <5218a827-48cc-439d-9913-5ea5fc583...@gmail.com > for root:65534

 $ cat /usr/local/etc/rc.d/spamd.sh
#!/bin/sh

case "$1" in
start)
        /usr/local/bin/spamd  -d --allow-tell && echo -n ' spamd'
        ;;
stop)
         killall spamd
        ;;
restart)
kill -HUP `/bin/ps x| grep "spamd" | grep -v child | grep -v grep | /usr/bin/awk '{print $1}'`
   ;;
*)
        echo "Usage: `basename $0` {start|stop}" >&2
        ;;
esac
exit 0

I've tried looking, but don't know what spamd should be running as. (spamc is called from either procmailrc or .procmailrc, if that matters) I've found a sample spamd.sh but it includes a -a flag, and my spamd man page does not list -a as a valid option.

Also, can I get spamd to log to some other log than maillog? it seems a tad wordy. Or can I get it to log just the result line?

--
This is our music from the bachelor's den, the sound of loneliness
        turned up to ten.  A harsh soundtrack from a stagnant waterbed
        and it sounds just like this. This is the sound of someone
        losing the plot making out that they're OK when they're not.
        You're gonna like it, but not a lot.  And the chorus goes like
        this...

Reply via email to