Jim Maul wrote:
Rick Macdougall wrote:
Hi,
Incorrect, or at least incorrect on the Linux and FBSD servers I maintain. Even running with -u username, spamd will still occasionally write files in /root/.spamassassin unless you specifically specify the path in local.cf.
In my case I run spamd with -u vpopmail, and before I added the bayes, awl and other paths in my local.cf, half of the data got written to ~vpopmail/.spamassassin and the other half to /root/.spamasassin.
Then something isnt quite right on your system. Unless explicitly told otherwise, SA will store stuff in the home directory as the user it is running as. I have not specified any paths in my local.cf. I run spamd with -x (no user config files) and spamd runs as spamd. .razor and .spamassassin end up in /home/spamd as stated before. Nothing at all gets written to /root (or anywhere else for that matter) unless i screw up and happen to run one of my manual sa-learn runs as root and not spamd.
Hi,
Nope, this happens on the 30 or so servers I look after, some running Linux, some running FreeBSD, some using vpopmail, some just as a standalone scanner. Happens when a child respawns as root instead of the -u user.
I reported it back when 3.0 first came out but no one seemed to care.
Ah, that makes more sense now..I vaguely remember seeing that reported. However, im running 2.64 which i supposed should have been stated in the beginning. It changes things quite a bit ;) One more reason im staying with 2.64 for now...
-Jim