Re: [exim] Exim4 to Syslog on Lenny ?

Top Page
Delete this message
Reply to this message
Author: mancyborg@gmail.com
Date:  
To: Andreas Metzler
CC: exim-users
Subject: Re: [exim] Exim4 to Syslog on Lenny ?
On Sat, 29 Aug 2009 11:34:49 +0200
Andreas Metzler <eximusers@???> wrote:

> 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'
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


Brilliant!

I confirm that writing:
log_file_path = syslog
at the end of the file:
/etc/exim4/conf.d/main/02_exim4-config_options
makes exim4 log to syslog

Thanks for supporting and have a nice day,
Mike