X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ada4d84efd985590d24a988912b8b38cd91c6e59..cb46fd2b91514ce49ad0e13788127d756ed35145:/src/src/exim.c diff --git a/src/src/exim.c b/src/src/exim.c index a27e391d1..8ab0456d8 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -4270,13 +4270,12 @@ if (msg_action_arg > 0 && msg_action != MSG_DELIVER && msg_action != MSG_LOAD) exit(yield); } -/* All the modes below here require the remaining configuration sections -to be read, except that we can skip over the ACL setting when delivering -specific messages, or doing a queue run. (For various testing cases we could -skip too, but as they are rare, it doesn't really matter.) The argument is TRUE -for skipping. */ +/* We used to set up here to skip reading the ACL section, on + (msg_action_arg > 0 || (queue_interval == 0 && !daemon_listen) +Now, since the intro of the ${acl } expansion, ACL definitions may be +needed in transports so we lost the optimisation. */ -readconf_rest(msg_action_arg > 0 || (queue_interval == 0 && !daemon_listen)); +readconf_rest(); /* The configuration data will have been read into POOL_PERM because we won't ever want to reset back past it. Change the current pool to POOL_MAIN. In fact,