Autor: Wakko Warner Data: Para: Philip Hazel CC: exim-users Asunto: Re: [exim] Logfiles
> > When the logfile option is expanded, does this happen in the listening > > daemon only or does it also happen in the process handling connections.
> >
> > I want to use $interface_port as part of the log name without having to run
> > 2 daemons.
>
> logfile is a filter command. It is expanded in the filter, which is part
> of delivery. I am therefore confused by your reference to the daemon and
> connection handling.
I knew I had the option name wrong there above, I didn't have time to lookup
the actual name. No it wasn't a filter, it was the global option.
> Perhaps you are referring to log_file_path? As it says in the manual,
> this is expanded when exim is entered. Since processes that handle
> connections are forked from the daemon without re-execution, it is not
> re-expanded. So I'm afraid you can't do what you want. Besides, if the
> log is open in the daemon, the forked process will inherit the open file
> and never even look at the name.
Drat, I kinda figured this but thought I'd ask first.
--
Lab tests show that use of micro$oft causes cancer in lab animals