-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.304 2006/02/16 10:05:33 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.305 2006/02/16 14:54:15 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
bounces) except when queue_only is set, to avoid logging races between
the different processes.
+PH/38 Panic-die if .include specifies a non-absolute path.
+
Exim version 4.60
-----------------
-/* $Cambridge: exim/src/src/readconf.c,v 1.19 2006/02/13 12:02:59 ph10 Exp $ */
+/* $Cambridge: exim/src/src/readconf.c,v 1.20 2006/02/16 14:54:15 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
}
*t = 0;
+ if (*ss != '/')
+ log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, ".include specifies a non-"
+ "absolute path \"%s\"", ss);
+
if (include_if_exists != 0 && (Ustat(ss, &statbuf) != 0)) continue;
save = store_get(sizeof(config_file_item));
FOO=inc1
BAR=.include "DIR/aux-fixed/TESTNUM.inc2"
RT = receive_timeout = 1s
+INC=
C1=#
C2=#
# ----- Main settings -----
FOOBAR .include DIR/aux-fixed/TESTNUM.FOO
-
RT
+INC
remote_sort_domains = a:b:c
--- /dev/null
+1999-03-02 09:44:33 Exim configuration error in line 27 of TESTSUITE/test-config:
+ .include specifies a non-absolute path "non/absolute"
****
exim '-D RT = receive_timeout = 4s ' -bP receive_timeout
****
+1
+exim -DINC='.include non/absolute' -bP receive_timeout
+****
--- /dev/null
+LOG: PANIC DIE
+ Exim configuration error in line 27 of TESTSUITE/test-config:
+ .include specifies a non-absolute path "non/absolute"