Fix CVE-2016-1531
[exim.git] / test / confs / 4201
index b34c7c1f9ff9f5c2aa7e14cf218cb67908709235..c6f18ed214b51500313c5a84479ba081f93f4d74 100644 (file)
@@ -3,8 +3,11 @@
 
 OPTION = *
 CONTROL =
+INSERT =
+SUB =
 
 exim_path = EXIM_PATH
+keep_environment =
 host_lookup_order = bydns
 spool_directory = DIR/spool
 log_file_path = DIR/spool/log/%slog
@@ -28,6 +31,8 @@ queue_run_in_order
 
 smtputf8_advertise_hosts = OPTION
 
+SUB
+
 
 # ----- ACL -----
 
@@ -39,12 +44,15 @@ begin acl
 check_recipient:
   accept hosts = :
   accept domains = +local_domains
-        local_parts = ^user.*\$
+        local_parts = ^(xn--)?user.*\$
   deny   message = relay not permitted
 
 .else
 
 sub:
+.ifdef INSERT
+  require INSERT
+.endif
 .ifdef CONTROL
   require CONTROL
 .endif