Keep router-variables separate on addrs, to avoid taint contamination
[users/jgh/exim.git] / test / confs / 0574
index 722988a2979f5bcbd381a81425caaaddb8aa6d36..9afc55247a072e7171bd994da5be874cc710ee12 100644 (file)
@@ -1,37 +1,28 @@
 # Exim test configuration 0574
 
-SERVER =
+.include DIR/aux-var/std_conf_prefix
 
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+primary_hostname = myhost.test.ex
 
-log_selector = +received_recipients +sender_on_delivery
+# ----- Main settings -----
 
-acl_smtp_rcpt = accept queue = ${if eq {normal}{$local_part} {} {$local_part}}
-queue_only
-queue_run_in_order
+acl_smtp_mail = chk_mail
+acl_smtp_rcpt = chk_rcpt
+acl_smtp_data = chk_data
 
-#---------------
+queue_only
 
-begin routers
+# ----- ACL -----
 
-all:
-  driver = accept
-  transport = dump
+begin acl
 
-#---------------
+chk_mail:
+  accept control = debug/tag=_1
 
-begin transports
+chk_rcpt:
+  accept control = debug/kill
 
-dump:
-  driver = pipe
-  command = true
+chk_data:
+  accept control = debug/tag=_2/opts=+all
 
 # End
-