Add log_file_path supprt to update-exim4.conf

Andreas Metzler ametzler at bebt.de
Mon Dec 16 18:14:07 UTC 2013


On 2013-12-16 Peter Van Biesen <peter.vanbiesen at vaph.be> wrote:
> I needed to get exim to log to syslog and I noticed this could not be done
> with update-exim4.conf . So I patched it and like to share. Is this the way
> to supply this ?

> I added dc_log_file_path to the update-exim4.conf.conf . If this variable
> is non-empty, an additional line is added in the autogenerated config file,
> overriding any log_file_path already defined ( apparently it is always
> defined ).

> What needs to be put in the string can be found in the exim spec :
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-log_files.html

> In my example, exim will log to the /var/log/exim4 logfiles and syslog .

Any reason you don't simply use

echo ':syslog' >> /etc/exim4/exim4.conf.localmacros

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'



More information about the Pkg-exim4-maintainers mailing list