Re: [Exim] exim: permission denied

Top Page
Delete this message
Reply to this message
Author: Kirill Miazine
Date:  
To: exim-users
Subject: Re: [Exim] exim: permission denied
* Peter [2004-05-13 09:20]:
> I'm having an intermittent SMTP problem. about 1/6 emails returns me a
> mail to the mail admin address with the following (I added the Subject
> and Body for clarity):
>
> Subject:
> Cron <mail@mail> if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ];
> then /usr/sbin/exim -q ; fi
>
> Body:
> exim: permission denied
>
> the intermittency of it is one of the most frustrating things. I checked
> permissions for usr/sbin/exim and I can't see anything wrong with them,
> but hey, I'm a noob. I also crossposted this to the Debian-users list,
> because it seems like it might be a filesystem/permissions problem.
> Can anyone point me in the right direction?


This is not a problem with some of your messages "returning", there's a
permisson problem with mail's crontab. User "mail" is trying to start a
queue-runner (exim -q) which he does not have a permission to do. What
do following commands output:

    ls -l /usr/sbin/exim
    exim -bP exim_user exim_group
    exim -d -q


(Execute the last command as user "mail".)

--
Kirill Miazine
mailto:km@krot.org
http://km.krot.org/