# 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 or {{eq {SERVER}{server}}{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
-#---------------
+# ----- ACL -----
-begin routers
+begin acl
-dump:
- driver = redirect
- condition = ${if eq {SERVER}{server}{yes}{no}}
- data = :blackhole:
+chk_mail:
+ accept control = debug/tag=_1
-all:
- driver = manualroute
- route_list = * 127.0.0.1
- self = send
- transport = out
+chk_rcpt:
+ accept control = debug/kill
-#---------------
+chk_data:
+ accept control = debug/tag=_2/opts=+all
-begin transports
+# ----- Routers -----
-out:
- driver = smtp
- port = PORT_D
+begin routers
+r1:
+ driver = redirect
+ data = :blackhole:
# End
-