On Mon, 26 Jan 2004, Keith Olmstead wrote:

[...]
> Jan 26 10:20:29 testserver.server.net spamd[623]: debug: bayes: no dbs
> present, cannot scan: /.spamassassin/bayes_toks Jan 26 10:20:29
> testserver.server.net spamd[623]: debug: Score set 1 chosen. Jan 26
> 10:20:29 testserver.server.net spamd[623]: logmsg: Still running as
> root: user not specified with -u, not found, or set to root.  Fall back
> Fall back to nobody.

the man page says this:
-u username, --username=username
         Run as the named user.  If this option is not set, the
         default behaviour is to setuid() to the user running
         "spamc", if "spamd" is running as root.

         Note: "--username=root" disables the setuid()
         functionality and leaves spamd running as root.


so u should run spamd with option --username=root , no setuid necessary in
this case. "Fall back to nobody" means , spamd is running with the
rightless user nobody, which isnt able to write into /.spamassassin nor
into users home directories (but this shouldnt happen anyway, coz spamc is
invoked by the user itsself).
a better way running spamd is creating a special user with a valid shell
and let him run spamd (not nobody itself).

give it a try,

regards,
Matthias


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to