[Exim] pid-file

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Michael Collin Nielsen
Fecha:  
A: exim-users
Asunto: [Exim] pid-file
I'm setting up a mailsystem using exim and mailscanner, therefore I have
two exim-processes runnning.

One only queue messages and is started: /pack/exim-4.05/bin/exim -bd
Using a default configuration file, that says (and a lot more)
queue_only = true
spool_directory = /var/spool/exim_incomming

When it is started it creates /var/spool/exim_incomming/exim-daemon.pid
containing the pid of the exim proces

However the other exim proces, that does the delevery, is started using:
/pack/exim-4.05/bin/exim -C /etc/eximmail/exim_outgoing.conf -q30m
In that configuration file I have added:
spool_directory = /var/spool/exim
Although that is the default for my exim-binary.

Using this setup only the first exim proces creates a pid-file (in
/var/spool/exim_incomming/exim-daemon-pid), the other proces does not
create a pid-file (One would expect it to be created as
/var/spool/exim/exim-daemon-pid)

Is this a bug or a feature or can I give exim som option that forces it
to create a pid-file ? (I have tried adding pid_file_path =
/var/spool/exim/exim-daemon.pid in the configuration file)

The doku says:

"When a listening daemon is started without the use of -oX (that is,
without overriding the normal configuration), it writes its process id to
a file called exim-daemon.pid in Exim's spool directory."

That might give me a clue as to why the file is not created, however I
really would like to have it :-)

Any advice ?

Regards

-Michael

--
   Michael Collin Nielsen  mailto:michael@hum.auc.dk
   M.Sc.E.E.               http://www.hum.auc.dk/~michael
   Sysadm in Faculty of Humanities, Aalborg University