On Wed, Jul 03, 2002 at 07:31:31PM -0700, Bob Sully wrote: | Right, it's started via /etc/rc.d/rc.local: | | /usr/bin/spamd -u nobody
Ahh, there's your problem (I think). (man spamd) -u username, --username=username Run as the named user. The alternative, default behaviour is to setuid() to the user running "spamc", if "spamd" is running as root. You want to start spamd as root so that it can setuid() to the user running spamc (which is 'rcs'). | Now, how to start it up so it won't complain? | When I had it running as root, it complained about that and fell | back to "nobody" anyway. :-). Nice. At least I'm not the only one. I don't know why this is, but I suspect a bug in SA 2.31 (and maybe 2.30). If you downgrade to 2.20 (I think that was the previous version I used) then you'll get rid of that problem. Better yet, fix spamd :-). (I used 'tcpflow' to determine that spamc did tell spamd what user to setuid() to, but spamd complained and became nobody nonetheless) -D -- A mouse is a device used to point at the xterm you want to type in. --Kim Alm, a.s.r http://dman.ddts.net/~dman/
msg07018/pgp00000.pgp
Description: PGP signature