Mark Cooke wrote:
Hi,

I've setup postfix and spamassassin (3.0) Debian (Sarge) to both use a MySQL database for it's rulesets, I'm running spamassassin as a filter in the /etc/postfix/master.cf file.


But the problem I have is no matter what I do, I cannot stop spamd from writing to /root/.spamassassin/.


But further up in the debug output it prints the following:
spamd[12700]: debug: using "/root/.spamassassin" for user state dir
spamd[12700]: debug: lock: 12700 created /root/.spamassassin/auto-whitelist.mutex spamd[12700]: debug: lock: 12700 trying to get lock on /root/.spamassassin/auto-whitelist with 30 timeout spamd[12700]: debug: lock: 12700 link to /root/.spamassassin/auto-whitelist.mutex: link ok spamd[12700]: debug: Tie-ing to DB file R/W in /root/.spamassassin/auto-whitelist

Apart from this, it seems to be running ok, but for the life of me I cannot stop it writing to the root directory.

If anyone can point anything out, I would be grateful

I have spamassassin 3.1 installed on Debian, running spamd as root. According to the README file the auto-whitlist should be created seperately for each user that calls spamc (unless a global AWL is used by setting auto_whitelist_path), yet I show the same as you, and the auto-whitelist file for other users is not created.

Perhaps the problem is that the user is not calling spamc, but rather the MTA. It does make the auto-whitelisting feature less useful, I think, if it's not per user.

I don't have the energy to try to sort this out, but I might suggest you check how spamc is being called and by which user.

--
Good day, eh.
Chris

Reply via email to