Re: [Exim] retry db owned by root

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kirill Miazine
Date:  
À: exim-users
Sujet: Re: [Exim] retry db owned by root
* Philip Hazel [2002-11-26 16:41]:
> > 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)
> >
> > Operating system is OpenBSD 3.1.
>
> I cannot reproduce this effect on Solaris 8. What does your "mail"
> program do? Does it just call exim?


Yes. "mail" calls exim.

> Please can you try the same experiment but using "exim root" instead of
> "mail root". If you still have the same effect, please try it again with
> the -d option and send me the output. It *should* have lines in it
> saying something like
>
> ensuring /.../spool/db/retry.lockfile is owned by exim
> ensuring /.../spool/db/retry is owned by exim


root@ns:/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 26 19:27 .
drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
root@ns:/var/spool/exim/db# echo | exim -d root 2> /tmp/test.debug
root@ns:/var/spool/exim/db# ls -al
total 4
drwxr-x---  2 exim  exim  512 Nov 26 19:27 .
drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
-rw-r-----  1 root  exim    0 Nov 26 19:27 retry
-rw-r-----  1 root  exim    0 Nov 26 19:27 retry.lockfile


Contents of /tmp/test.debug follows will be sent in a separate mail, but
it doesn't contain the above mentioned lines :/

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