exim: retry.lockfile: Permission denied

lilas

Verified User
Joined
Dec 12, 2010
Messages
6
Hello,

I just installed exim 2.76 with custombuild. I tried to send a test mail, and noticed the following error messages
in /var/log/exim/mainlog:

Code:
2011-09-20 13:46:10 1R5ym9-0003p8-Gh failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2011-09-20 13:46:11 1R5ym9-0003p8-Gh failed to open database lock file /var/spool/exim/db/wait-remote_smtp.lockfile: Permission denied (eui d=8 egid=12)

ls -l /var/spool/exim/db shows:
Code:
-rw-r----- 1 exim exim 0 Sep 20 13:45 retry.lockfile
-rw-r--r-- 1 exim exim 0 Sep 20 13:45 wait-remote_smtp.lockfile

The mail does not seem to be sent out correctly.

There are a lot of such cases in Google search, but there is no aequate solution.
How could I fix this? Thank you in advance.
 
What OS are you using?

As far as i remember user and group should be mail.. but that should be different on different os...

On CentOS and Debain are mail:mail (just checked).

Regards
 
It works, I am running CentOS 5.7 and change to mail:mail instead of exim:exim.
Thank you again for your quick answer.
 
Back
Top