Re: [Exim] SSL-specific daemon doesn't deliver locally -- se…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Simon Vallet
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] SSL-specific daemon doesn't deliver locally -- setgid fails
[used the wrong address... reposting]

On Tue, 4 Nov 2003 19:43:08 +0100
Andreas Metzler <eximusers@???> wrote:

> On Tue, Nov 04, 2003 at 07:27:45PM +0100, Simon Vallet wrote:
> > On Tue, 4 Nov 2003 19:15:56 +0100
> > Andreas Metzler <eximusers@???> wrote:
>
> > > If you want to run two completely different processeces under
> > > different user-ids (maill and mail) you'll have to give them
> > > separate spool and log-directories and set exim_path correctly.
> > Actually, I would have hoped to be able to use the same binary for
> > both servers... using the same uid, but different configuration
> > files (and different log & pid files).
> > Do you think it would be possible ?
>
> Yes, much easier, if you want to stop exim2 touching exim1's mail
> you'll have to separate the spooldirectories.

So, I tried using a different "spool" directory (setting
spool_directory, _not_ the mail spool, where messages are kept)... no
luck. I need to have the same mail spool, because there is a POP3 server
running. However, Exim delivers in Maildir format, so it shouldn't be an
issue (Or am I missing something ?). Besides, running only the SSL
server does not resolve the problem -- so it finally may not be a
cohabitation issue.

I just don't understand why Exim drops its root privileges (and then
fails to setgid): when started as a root user, it should retain them,
even with the -C command-line option.

Any hint ?

Simon