maillist wrote:
RinkWorks wrote:
I'm trying to run Spam Assassin 3.1.7 as root
Let me stop you right there. You cannot run spamd as root. It drops
privs, and runs as user "nobody".
Not quite correct... spamd will drop privs to nobody *for that call* if
spamc is run by root without -u <non-root-username>.
Otherwise, per-user configs using system users don't work, because if
spamd doesn't run as root, it can't fork and drop priviledges (or
whatever the exact process is; IIRC it changed a while back) to the
calling user.
I'm happily running 3.1.9's spamd as root, calling spamc from individual
.procmailrc files on several systems.
(I have had to switch to calling "spamassassin" for root's mail
filtering, however.)
-kgd