Doc: clarify the syntax of the "begin <section>"
[exim.git] / test / confs / 4201
index b34c7c1f9ff9f5c2aa7e14cf218cb67908709235..6a16f4c6ff4f3d962b2870d428de33b5a05c7a1e 100644 (file)
@@ -3,6 +3,8 @@
 
 OPTION = *
 CONTROL =
+INSERT =
+SUB =
 
 exim_path = EXIM_PATH
 host_lookup_order = bydns
@@ -28,6 +30,8 @@ queue_run_in_order
 
 smtputf8_advertise_hosts = OPTION
 
+SUB
+
 
 # ----- ACL -----
 
@@ -39,12 +43,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