summaryrefslogtreecommitdiff
path: root/test/confs/0620
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-07-08 17:34:47 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-07-08 17:34:47 +0100
commitfa7b17bdbc8c055c475a50791627cd75d257f4f3 (patch)
treea9818766f97482a4c860ba3c99b95239bfdc50e4 /test/confs/0620
parent0cf7a94143a3ff40057ce90b0b23ece76046e188 (diff)
Routers: named variables
Diffstat (limited to 'test/confs/0620')
-rw-r--r--test/confs/062043
1 files changed, 43 insertions, 0 deletions
diff --git a/test/confs/0620 b/test/confs/0620
new file mode 100644
index 000000000..b1f48c40e
--- /dev/null
+++ b/test/confs/0620
@@ -0,0 +1,43 @@
+# Exim test configuration 0166
+
+.include DIR/aux-var/std_conf_prefix
+
+
+# ----- Main settings -----
+
+domainlist local_domains = test.ex
+qualify_domain = test.ex
+
+
+# ----- Routers -----
+
+begin routers
+
+alias:
+ driver = redirect
+ debug_print = DEBUG: $r_r1 $r_r2
+ data = b
+ set = r_r1 = $local_part
+
+user:
+ driver = accept
+ debug_print = DEBUG: $r_r1 $r_r2
+ set = r_r1 = $local_part
+ set = r_r2 = $local_part
+ transport = local_delivery
+
+
+# ----- Transports -----
+
+begin transports
+
+local_delivery:
+ driver = appendfile
+ envelope_to_add
+ file = DIR/test-mail/$local_part
+ user = CALLER
+ debug_print = DEBUG: $r_r1 $r_r2
+ headers_add = X-r1: $r_r1\nX-r2: $r_r2
+
+
+# End