Author: Andreas Metzler Date: To: exim-dev Subject: [exim-dev] [Bug 1045] New: ALT_CONFIG_PREFIX breaks exicyclog,
exinext and exiwhat
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: ALT_CONFIG_PREFIX breaks exicyclog, exinext and exiwhat
Component: General execution
exicyclog, exinext and exiwhat do this:
#1 Search a (build-time) hardcoded list of configuration files for the
currently used one.
#2 Find the exim binary by grep for exim_path in the newly found configuration
file or falling back to the compile time default.
#3 Read some configuration directives (spool_directory) by running exim -bP
At #3 -C is used to point exim at the file found in #1. This breaks if exim was
built with ALT_CONFIG_PREFIX and if the configuration file is not in
ALT_CONFIG_PREFIX. (A common szenario if CONFIGURE_FILE specifies a a list of
files in different directories.)
I *think* the obvious and straightforward workaround would be to simply drop
the -C argument, the logic used in #1 is supposed to be identical to the one
the exim binary is using.