Autor: Jakob Hirsch Data: A: John Hall CC: 'Exim-users' Assumpte: Re: [exim] Username in spam condition
John Hall wrote:
> I guess this can easily be fixed by running sa-learn as root rather
> than mail, but I wanted to get to the bottom of why I exim's access to
> the Bayes database is assumed to be root.
Exim simply passes the username to spamd, you can check this by running
spamd with -D (debug). This shouldn't happen, as spamd should setuid()
to the user the client tells it (according to the manpage).
I have no user-configs, so I run spamd with --username=spamd and
--nouser-config, which does the job here. Maybe this will help you.