Re: [Exim] exim -q "exim: permission denied" problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: hanasaki
Date:  
À: Tabor J. Wells
CC: exim-users
Sujet: Re: [Exim] exim -q "exim: permission denied" problem
Well I am guessing that the below should be set to "mail"?
EXIM_UID=
EXIM_GID=

However, I am not sure how these interact with the following from the
Makefile:
# EXIM_GID=42 # the "mail" group

Doesn't the presume that the UID and GID for mail:mail are fixed and
numeric? If so, wouldn't it be good to specifiy them as text strings
and have the exim application dynamically get the right numbers at runtime?

All of my /var/spool/exim
and /var/log/exim are owned by mail:mail

and the exim application is -rwsr-xr-x 1 mail mail so I find it odd that
there would be a permission denied reguardless for the settings in Makefile.

Tabor J. Wells wrote:

> On Sat, Dec 29, 2001 at 11:12:49AM -0600,
> hanasaki <hanasaki@???> is thought to have said:
>
>> So the Cron should run as root as well?
>
>
> It could but it shouldn't have to. The uid you used to build exim
> should be
> able to do a queue run without giving you an error. The question is
> why does
> exim think that "mail" is not allowed to run the queue? I suspect that
> when
> you built your exim binary you specified a user other than "mail" as the
> uid exim runs as.
>
> Tabor
>



--
hanasaki@???
Spam : def: It's not kosher.