Fix CVE-2016-1531
[exim.git] / test / confs / 4020
index 8e2f6b0527caa2f729a4fcb2d0151f05e11ebdcd..d37b0d8fcc75092a3226761d8fccde5f84bfe4a8 100644 (file)
@@ -3,7 +3,8 @@
 OPT =
 
 exim_path = EXIM_PATH
-host_lookup_order = bydns
+keep_environment =
+hide host_lookup_order = bydns
 primary_hostname = myhost.test.ex
 spool_directory = DIR/spool
 log_file_path = DIR/spool/log/%slog
@@ -13,6 +14,8 @@ tls_advertise_hosts =
 
 # ----- Main settings -----
 
+log_selector = +proxy +outgoing_port
+
 domainlist local_domains = test.ex : *.test.ex
 acl_smtp_rcpt = accept
 
@@ -38,7 +41,7 @@ my_smtp:
   driver = smtp
   interface = HOSTIPV4
   port = PORT_S
-  socks_proxy = 127.0.0.1 port=PORT_S OPT
+  hide socks_proxy = 127.0.0.1 port=PORT_D OPT
   debug_print = transport_name <$transport_name>