Re: [exim] Username in spam condition

Página Inicial
Delete this message
Reply to this message
Autor: John Hall
Data:  
Para: exim-users
Assunto: Re: [exim] Username in spam condition
On 1/25/06, John Hall <j@???> wrote:
> On 1/25/06, Jakob Hirsch <jh@???> 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 tried running spamd with -D, and I get the following log lines:
> Jan 25 15:27:49 dave spamd[7388]: prefork: ordered 7396 to accept
> Jan 25 15:27:49 dave spamd[7388]: prefork: child 7396: entering state 2
> Jan 25 15:27:49 dave spamd[7396]: spamd: got connection over /var/run/spamd.sock
> Jan 25 15:27:49 dave spamd[7388]: prefork: new lowest idle kid: 7397
> Jan 25 15:27:49 dave spamd[7396]: spamd: checking message (unknown) for mail:8
> Jan 25 15:27:49 dave spamd[7396]: bayes: database connection established
> Jan 25 15:27:49 dave spamd[7396]: bayes: found bayes db version 3
> Jan 25 15:27:49 dave spamd[7396]: bayes: Using userid: 2


Jakob (getting it right this time),

Thinking more about this, I reckon this is an SA problem, so I will
ask over there.

cheers,
John