[Pkg-exim4-users] question about update-exim4.conf manpage
Andreas Metzler
ametzler at downhill.at.eu.org
Sun May 21 08:57:29 UTC 2006
On 2006-05-20 Ross Boylan <ross at biostat.ucsf.edu> wrote:
> The man page for update-exim4.conf says, in part
> If update-exim4.conf is called without the option -o, it
> checks the validity of the freshly generated configuration file and
> exits with an error. In that case, the new file is
> not installed to /var/lib/exim4/config.autogenerated.
> Is that the intended meaning? My guess is the intended meaning is
> If update-exim4.conf detects that the freshly generated configuration
> file is invalid it exits with an error. Unless the -o option was
> given, the old output file is retained.
Hej,
Afaict the documentation is correct, update-exim4.conf does not check
the validity if -o is given and does not exit with an error if -o is
given and the file is invalid:
---------------------
argenau:/etc/exim4/conf.d/main# echo blah > invalid
argenau:/etc/exim4/conf.d/main# update-exim4.conf
2006-05-21 10:54:00 Exim configuration error in line 201 of /var/lib/exim4/config.autogenerated.tmp:
main option "blah" unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
not installing /var/lib/exim4/config.autogenerated.tmp to
/var/lib/exim4/config.autogenerated
argenau:/etc/exim4/conf.d/main# update-exim4.conf -o /tmp/xxxxx
---------------------
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
More information about the Pkg-exim4-users
mailing list