exim/exim-4.84.2-environment.patch

24 lines
915 B
Diff

diff --git a/src/configure.default b/src/configure.default
index d1c94ad..d264c9a 100644
--- a/src/configure.default
+++ b/src/configure.default
@@ -334,6 +334,18 @@ timeout_frozen_after = 7d
# accept_8bitmime = false
+# Exim does not make use of environment variables itself. However,
+# libraries that Exim uses (e.g. LDAP) depend on specific environment settings.
+# There are two lists: keep_environment for the variables we trust, and
+# add_environment for variables we want to set to a specific value.
+# Note that TZ is handled separateley by the timezone runtime option
+# and TIMEZONE_DEFAULT buildtime option.
+
+keep_environment = ^LDAP
+add_environment = PATH=/usr/bin::/bin
+
+
+
######################################################################
# ACL CONFIGURATION #
# Specifies access control lists for incoming SMTP mail #