Description: Stop using exim's -C option in utility scripts (exiwhat
et al.) since this breaks with ALT_CONFIG_PREFIX.
-Author: Andreas Metzler <ametzler@downhill.at.eu.org>
+Author: Andreas Metzler <ametzler@bebt.de>
Forwarded: http://bugs.exim.org/show_bug.cgi?id=1045
-Last-Update: 2014-12-01
+Last-Update: 2018-12-31
--- a/src/exicyclog.src
+++ b/src/exicyclog.src
-@@ -146,10 +146,10 @@ st=' '
+@@ -151,10 +151,10 @@ st=' '
exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"`
if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi
# If log_file_path contains only "syslog" then no Exim log files are in use.
--- a/src/eximon.src
+++ b/src/eximon.src
-@@ -74,8 +74,8 @@ st=' '
+@@ -81,8 +81,8 @@ st=' '
EXIM_PATH=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"`
if test "$EXIM_PATH" = ""; then EXIM_PATH=BIN_DIRECTORY/exim4; fi
# is unable to display a log tail unless EXIMON_LOG_FILE_PATH is set to tell
--- a/src/exinext.src
+++ b/src/exinext.src
-@@ -91,8 +91,8 @@ if [ "$exim_path" = "" ]; then
+@@ -98,8 +98,8 @@ if [ "$exim_path" = "" ]; then
fi
if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi
# Now do the job. Perl uses $ so frequently that we don't want to have to
# escape them all from the shell, so pass in shell variable values as
-@@ -134,7 +134,7 @@ perl - $exim_path "$eximmacdef" $argone
+@@ -144,7 +144,7 @@ perl - $exim_path "$eximmacdef" $argone
# Run Exim to get a list of hosts for the given domain; for
# each one construct the appropriate retry key.
while (<LIST>)
--- a/src/exiwhat.src
+++ b/src/exiwhat.src
-@@ -89,8 +89,8 @@ fi
+@@ -99,8 +99,8 @@ fi
st=' '
exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"`
if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi