On Apr 25, 2018, at 11:08 AM, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote: > > actually, no. it changes to users as needed. This way multiple users can use > spamd with per-user config files.
Sorry, let me be more clear: if spamc is invoked by root, such that spamd would try to setuid root, then spamd runs as "nobody" (the same uid it uses when idle). You can see this in the maillog when it tries to process root messages: Apr 25 15:07:33 kismet spamd[11450]: spamd: setuid to root succeeded Apr 25 15:07:34 kismet spamd[11450]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody So spamd will not use the user prefs in ~root, but manual spamassassin will. And user "nobody" doesn't have a home (usually). > not preferences - they are honored by both spamd and spamassassin. See above. --- Amir