[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Outgoing mail



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/spool/exim/db/wait-remote_smtp.lockfile: Permission denied
> (euid=8 egid=8)
[...]
> 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

Everything under /var/spool/exim (including that top-level directory)
should have UID and GID mail.
Write permissions should be only for user, and read permissions
for user and group. (dirs: 750, files: 640)

Try to only 'chmod' and 'chown' existing files.

AFAIK I had similar problem year ago, and that was something about
the first run (creation of this files), and after that, it started
to work, but I can be mistaken.

Bye.
-- 
+----------------------------------+
| Martin Kacerovsky                |
| e-mail : wizard(AT)matfyz(DOT)cz |
| home   : http://wizard.matfyz.cz |
+----------------------------------+

Attachment: pgpQTN2Kcg4yV.pgp
Description: PGP signature


Reply to: