<div dir="ltr">Hi Andreas,<div><br></div><div>I thought the main goal of the update-exim4.conf.conf is to isolate all configuration into that file, so one only needs to edit that and it would be kept through upgrades ( and possible syntax changes in the config files ). Is this not the case ?</div>
<div><br></div><div>Anyway, shouldn't it be :</div><div>echo "log_file_path = :syslog" >> /etc/exim4/exim4.conf.localmacros</div><div><br></div><div>We have other settings also we want to push, so if the conf.conf is not the place to do it, we will start using the localmacros file.</div>
<div><br></div><div>Kindest regards,</div><div><br></div><div>Peter.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 7:14 PM, Andreas Metzler <span dir="ltr"><<a href="mailto:ametzler@bebt.de" target="_blank">ametzler@bebt.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-12-16 Peter Van Biesen <<a href="mailto:peter.vanbiesen@vaph.be">peter.vanbiesen@vaph.be</a>> wrote:<br>

> I needed to get exim to log to syslog and I noticed this could not be done<br>
> with update-exim4.conf . So I patched it and like to share. Is this the way<br>
> to supply this ?<br>
<br>
> I added dc_log_file_path to the update-exim4.conf.conf . If this variable<br>
> is non-empty, an additional line is added in the autogenerated config file,<br>
> overriding any log_file_path already defined ( apparently it is always<br>
> defined ).<br>
<br>
> What needs to be put in the string can be found in the exim spec :<br>
> <a href="http://www.exim.org/exim-html-current/doc/html/spec_html/ch-log_files.html" target="_blank">http://www.exim.org/exim-html-current/doc/html/spec_html/ch-log_files.html</a><br>
<br>
> In my example, exim will log to the /var/log/exim4 logfiles and syslog .<br>
<br>
</div>Any reason you don't simply use<br>
<br>
echo ':syslog' >> /etc/exim4/exim4.conf.localmacros<br>
<br>
cu Andreas<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
`What a good friend you are to him, Dr. Maturin. His other friends are<br>
so grateful to you.'<br>
`I sew his ears on from time to time, sure'<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Peter Van Biesen<br></div><div>Sysadmin V.A.P.H.</div><div><br></div><div>T +32 (0) 2 225 85 70</div><div>F +32 (0) 2 225 85 88</div>
<div>E <a href="mailto:peter.vanbiesen@vaph.be" target="_blank">peter.vanbiesen@vaph.be</a></div></div>
</div>

<br>
<div><span><br></span></div><span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">Raadpleeg uw VAPH-dossier online via</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)"> </span><a href="http://mijn.vaph.be/" style="color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">http://mijn.vaph.be</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">.</span></div></span><span>------------------------------</span><span><WBR>------------------------------</span><span><WBR>---------------------</span><br><a href="http://www.vaph.be/disclaimer" target="_blank">http://www.vaph.be/disclaimer</a>