On Thu, Mar 06, 2003 at 07:01:21PM -0800, Jack Pistachio wrote: > yes, thanks. err should have probably skimmed man exim > first. mainlog gave the following info: > > 18r7I2-0000A7-00 <= root@AMDKing U=root P=local S=1533 > 18r7I2-0000A7-00 failed to open database lock file > /var/spoo > l/exim/db/wait-remote_smtp.lockfile: Permission denied > (euid=8 egid=8) > 18r7I2-0000A7-00 => jackpistachio@yahoo.com R=smarthost > T=re > mote_smtp H=smtp.access4cheap.com [64.157.172.136] > 18r7I2-0000A7-00 Completed It's ok to not wrap log lines, and it makes it easier to read, too :) > and the message was never sent. root didn't even have > permissions to access this file?!? > anyhow, I changed the permissions in exim/db to: > /var/spool/exim/db# ls -l > total 8 > -rw-rw-rw- 1 mail mail 4096 Aug 3 2002 > retry > -rw-rw-rw- 1 mail mail 0 Aug 3 2002 > retry.lockfile > -rw-rw-rw- 1 root root 4096 Aug 3 2002 > wait-remote_smtp > -rw-rw-rw- 1 root root 0 Aug 3 2002 > wait-remote_smtp.lockfile > > and I was able to send out mail my user. I think I've had this happen to me, too, a long time ago. > 666 are probably bad permissions (no pun intended). > Anyhow, what should they be (cause I forgot) total 0 drwxr-x--- 2 mail mail 94 Dec 28 15:55 db drwxr-x--- 2 mail mail 6 Mar 7 18:28 input drwxr-x--- 2 mail mail 6 Mar 7 18:28 msglog > and what is > the right way of handling the lockfile error. Hm, I'm not really sure. I think I just did exactly what you did. What does the BTS say about exim? You should file a bug if you can't find one there already. -- Rob Weir <rweir@ertius.org> http://ertius.org/
Attachment:
pgpoY90_BVulO.pgp
Description: PGP signature