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

Góra strony
Delete this message
Reply to this message
Autor: Tabor J. Wells
Data:  
Dla: hanasaki
CC: exim-users
Temat: Re: [Exim] exim -q "exim: permission denied" problem
On Fri, Dec 28, 2001 at 10:56:34PM -0600,
hanasaki <hanasaki@???> is thought to have said:

> I have exim installed as:
>
> -rwsr-xr-x    1 mail     mail       525804 Dec 27 22:47 /usr/sbin/exim

>
> and a cron job running exim -q every 15 minutes as the user mail. Run
> as mail, there is an error "exim: permission denied". Run as root there
> is no error. All of the files in /var/spool/exim are mail:mail
>
> What could be causing this problem?


Is user "mail" what you built exim with as your EXIM_UID? If not, well, why
not? Or alternatively you could set "mail" as a trusted_users if there's a
reason that exim isn't compiled with mail as your EXIM_UID. Also as an
aside, a typical installation has the exim binary suid root as well. So be
aware that this may cause you problems depending on how you're using exim.

Tabor

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality