Thanks for all your help. I was using version 2 of spamass-milter so I upgraded to the latest version 3.1 and now I get this error
Milter (spamassassin): error connecting to filter: Connection refused by /var/run/spamass.sock And then spamassassin stops. Everything looks ok permissions wise, but I am not sure why this is failing. Sorry to be such a bother, but this has me baffled Thank you, Richard Tracy -----Original Message----- From: Magnus Holmgren [mailto:[EMAIL PROTECTED] Sent: Saturday, December 16, 2006 3:41 PM To: users@spamassassin.apache.org Subject: Re: starting spamd 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