Re: [exim] Exim4 to Syslog on Lenny ?

Góra strony
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
Dla: exim-users
Temat: Re: [exim] Exim4 to Syslog on Lenny ?
On 2009-08-29 "mancyborg@???" <mancyborg@???> wrote:
> > As with any changes to exim4.conf.template you will need to regenerate
> > the config file to make them effective.
> >
> > /etc/init.d/exim4 reload


> same results.


> I wrote:
> log_file_path=syslog
> at the end of the file:
> /etc/exim4/exim4.conf.template


Hej,
The end of the file is the wrong place. log_file_path is a main
configuration option.
http://docs.exim.org/current/spec_html/ch06.html#SECTconffilfor
http://docs.exim.org/current/spec_html/ch14.html#SECID99

> and also after a service reload / restart the command 'exim4 -bP log_file_path' still returns 'log_file_path = /var/log/exim4/%slog'.


> If helps, I've accepted to split the files when 'dpkg-reconfiguring' exim.


It explains why things are not working. ;-)
file:///usr/share/doc/exim4-base/README.Debian.html#id3025855
|  Depending on the value of dc_use_split_config, it either
| 
|     * takes all the files below /etc/exim4/conf.d/ and concatenates
|      them together or
|     * uses exim4.conf.template as input.


If you are using split config, exim4.conf.template is not used.
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'