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

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: hanasaki
CC: Tabor J. Wells, exim-users
Temat: Re: [Exim] exim -q "exim: permission denied" problem

Uhm.. If you start exim with (eg -q15m) it will run a queue every 15
minutes on its own, with no need to have cron run one..

On Sat, 29 Dec 2001, hanasaki wrote:

> So the Cron should run as root as well?
>
> Tabor J. Wells wrote:
>
> >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
> >
>
> --
> hanasaki@???
>     Spam : def: It's not kosher.

>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--