Not Sending or Recieving Emails

onze

Verified User
Joined
Jan 2, 2011
Messages
16
Location
Portugal
Hello,
I have installed DA in a new server and deployed the base domain and start making confgs.
In the end everithing seems to work fine except for the email.
Cant recieve or send emails, after looking at the log exim/mainlog got the following.
2011-01-07 10:13:15 1PaZgH-0001Mx-VU failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2011-01-07 10:13:15 1PaZgH-0001Mx-VU failed to unlink /var/spool/exim/input//1PaZgH-0001Mx-VU-J: Permission denied
2011-01-07 10:13:19 1Pb8Nr-0004Rp-VT Failed to create spool file /var/spool/exim/input/r/1Pb8Nr-0004Rp-VT-D: Permission denied
2011-01-07 10:13:32 1Pb8O4-0004Rz-9S Failed to create spool file /var/spool/exim/input/4/1Pb8O4-0004Rz-9S-D: Permission denied

I have installed the sys using the script provided by DA with custom build, have a possibly missed something?

Thanks for your help.
 
Hello,
I have installed DA in a new server and deployed the base domain and start making confgs.
In the end everithing seems to work fine except for the email.
Cant recieve or send emails, after looking at the log exim/mainlog got the following.

I have installed the sys using the script provided by DA with custom build, have a possibly missed something?

Thanks for your help.

I had exactly the same problem. I installed DA on a 64bit Centos 5.4 system.

I solved this one by running the fix permissions script from the directadmin folder.
 
If you are using /var/spool then you are using a very old setup. Why not upgrade to dovecot?
 
What Linux distro/type of config do you recommend for a new server?

Thanks
 
Hello,

If you are using /var/spool then you are using a very old setup. Why not upgrade to dovecot?
Sorry, ths is not correct.

scsi, you're confusing the exim error /var/spool/exim (normal directory with all installs if exim), with /var/spool/virtual (old for mbox)... but /var/spool/virtual is not mentioned in his error.

The exim error does not imply you're using the old mail setup.. you likely are using dovecot, so no worries there.

The /var/spool/exim error likely means there was a previous exim install which used a different uid/gid values (likely exim:exim), while we use mail:mail. The fix_permissions.sh would simply reset /var/spool/exim to the correct mail:mail value.

That's likely all there is to it, likely no need to do anything else.

It's not recommended to have other installs of the standard web services prior to installing DA, as errors such as this could creep up.

John
 
Back
Top