Re: [Exim] retry db owned by root [SOLVED]

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kirill Miazine
Date:  
À: exim-users
Anciens-sujets: [Exim] retry db owned by root
Sujet: Re: [Exim] retry db owned by root [SOLVED]
* Kirill Miazine [2002-11-26 12:02]:
> I noted that retry database is owned by root when it is first created by
> a process initially started as root.
>
> root@ns:/var/spool/exim/db# ls -al
> total 4
> drwxr-x---  2 exim  exim  512 Nov 26 12:05 .
> drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
> root@ns:/var/spool/exim/db# echo | mail root
> root@ns:/var/spool/exim/db# ls -al
> total 4
> drwxr-x---  2 exim  exim  512 Nov 26 12:07 .
> drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
> -rw-r-----  1 root  exim    0 Nov 26 12:07 retry
> -rw-r-----  1 root  exim    0 Nov 26 12:07 retry.lockfile

>
> Exim version 4.10.11 #2 built 25-Nov-2002 22:58:38
> Copyright (c) University of Cambridge 2002
> Probably Berkeley DB version 1.8x (native mode)


The problem came with 4.10.11 and is gone with 4.10.12. When I tried to
build 4.10 (and 4.10.12 too) after I upgraded to 4.10.11, I didn't run
"make install", but instead invoked exim as ./build-OpenBSD-i386/exim.
Of course it tried to invoke exim in BIN_DIRECTORY (which is old) when
it did the delivery. Now I know why I never had to chang file ownerships
before. Sorry for a terribly long thread.

Exim version 4.10 #1 built 28-Nov-2002 10:52:47:

/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 28 10:56 .
drwxr-x---  5 exim  exim  512 Oct 28 23:02 ..
/var/spool/exim/db# echo | exim km
/var/spool/exim/db# ls -al
total 36
drwxr-x---  2 exim  exim    512 Nov 28 10:56 .
drwxr-x---  5 exim  exim    512 Oct 28 23:02 ..
-rw-r-----  1 exim  exim  32768 Nov 28 10:56 retry
-rw-r-----  1 exim  exim      0 Nov 28 10:56 retry.lockfile



Exim version 4.10.11 #8 built 28-Nov-2002 10:58:16:

/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 28 10:58 .
drwxr-x---  5 exim  exim  512 Oct 28 23:02 ..
/var/spool/exim/db# echo | exim km
/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 28 10:58 .
drwxr-x---  5 exim  exim  512 Oct 28 23:02 ..
-rw-r-----  1 root  exim    0 Nov 28 10:58 retry
-rw-r-----  1 root  exim    0 Nov 28 10:58 retry.lockfile



Exim version 4.10.12 #1 built 28-Nov-2002 11:05:23:

/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 28 11:05 .
drwxr-x---  5 exim  exim  512 Oct 28 23:02 ..
/var/spool/exim/db# echo | mail km
/var/spool/exim/db# ls -al
total 52
drwxr-x---  2 exim  exim    512 Nov 28 11:05 .
drwxr-x---  5 exim  exim    512 Oct 28 23:02 ..
-rw-r-----  1 exim  exim  32768 Nov 28 11:05 retry
-rw-r-----  1 exim  exim      0 Nov 28 11:05 retry.lockfile



But Exim 4.10.12 doesn't deal very well with maildrop (or maybe all pipe
deliveries, I don't know). See http://pub.krot.org/tmp/maildrop-debug.txt.

--
Kirill Miazine, Stud.Jur.                               mailto:sig@krot.org
Faculty of Law, University of Oslo                      http://km.krot.org/