On Saturday 16 December 2006 23:02, spamassassin wrote:
> When I try to run it using the -u root this is the error that I get
>
> spamd: cannot run as nonexistent user or root with -u option

That's right. spamd refuses to do that for security reasons. If run without -u 
<user>, it changes identity to the caller, or "nobody" if the caller is root, 
after accepting a connection. If run with -u <user>, it changes identity to 
<user> after binding to its listening socket, unless <user> is root, in which 
case it complains and exits.

"Configuring site-wide" means adding a dedicated spamassassin user to run 
spamd as. Also use -x to stop spamd from reading any personal config files. 
If you want per-user configuration, you can arrange for it to be stored in a 
database (but that sounds unnecessarily fancy). The thing to realise is that 
running things as root is dangerous and should be limited to an absolute 
minimum. Under no circumstance treat root as a normal user among the rest!

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

Attachment: pgp7AaNkiwYYW.pgp
Description: PGP signature

Reply via email to