OK, that doesn't work... I changed from: SPAMDOPTIONS="-d -c -a -m5 -H " to: SPAMDOPTIONS="-d -c -a -m5 -H -u root"
and now spamd won't start. The line in the spamd init.d script that actually calls it is: daemon spamd $SPAMDOPTIONS and that is directly from the Mail-SpamAssassin-2.60/spamd/redhat-rc-script.sh file. But the spamd script IS being run as root. I would think that would start it using root, but... I get the following messages in syslog when I run without "-u root": Oct 13 21:25:38 Dingo spamc[5345]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused Any ideas? Thanks! On Mon, 2003-10-13 at 18:41, Matt Kettler wrote: > At 01:27 PM 10/13/2003, Dave Bartmess wrote: > >I've got the following in my local.cf, running SA as root (from init.d > >script), and it never comes up saying that it's using auto-learn, and > >the bayes files never seem to change... What's going on with this? > > I assume you mean you're running spamd, not SA, as root from your init.d > > Are you passing -u root as part of your spamd startup? > > If not, does the user "nobody" have access to create files in the directory > /usr/share/bayes? (Note that this means the directory needs to be writable, > not just the files). Unless you pass -u root to spamd, it will fall back to > "nobody" if spamc is also called as root. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk -- David A. Bartmess Software Configuration Manager / Sr. Software Developer eDingo Enterprises http://edingo.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk