Hi Udo, Try the following: Add a user named "spamd": useradd spamd Then, in your spamassassin service script, run spamd us user spamd. Under CentOS, the service script is /etc/init.d/spamassassin which runs spamd as: daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID The SPAMDOPTIONS variable is defined in /etc/sysconfig/spamassassin as: SPAMDOPTIONS="-d -x -u spamd --max-children=5 --allowed-ips=127.0.0.1" Its been a while since I ran exim4u and spamassassin on a debian system but it should be quite similar. FYI, Gordon On 09/16/2010 03:45 AM, Udo Hortian wrote:
Hello,
I am evaluating exim4u for some time. I made two installations on Debian squeeze systems. The first I made in February this year and the second yesterday. I liked vexim and now I am going to change to exim4u. Thank you very much for your work, Gordon!
There are only a few (minor) problems. One of them is the following on my new installation:
In /var/log/mail.info I see the following errors from SpamAssassin:
Sep 16 09:32:58 myhost spamd[24356]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody Sep 16 09:32:58 myhost spamd[24356]: spamd: checking message <replaced> for spamd:65534 Sep 16 09:33:00 myhost spamd[24356]: plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/bayes.lock.replaced.24356 for /nonexistent/.spamassassin/bayes.lock: No such file or directory
The first of these lines also appears in my old installation, but the last of these lines only on the new installation.
I guess one may solve this problem by disabling bayes. Can someone indicate me how to do this?
Another possibility would be to create a user that will be used for spamassassin checks of exim4u. But I am not so sure if one really wants bayes for such a global user. Where in the exim4u configuration do I find the call of spamc / spamassassin?
Kind regards, Udo
_______________________________________________ users mailing list users(a)exim4u.org https://exim4u.org/mailman/listinfo/users