More new test committing.
[exim.git] / test / confs / 0103
diff --git a/test/confs/0103 b/test/confs/0103
new file mode 100644 (file)
index 0000000..7e459b4
--- /dev/null
@@ -0,0 +1,71 @@
+# Exim test configuration 0103
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+domainlist local_domains = test.ex : special
+log_selector = +all_parents
+qualify_domain = test.ex
+
+
+# ----- Rewrite -----
+
+begin rewrite
+
+\N^WAS...@x\.y\.zwas$   rewritten@x.y.z
+
+
+# ----- Routers -----
+
+begin routers
+
+special:
+  driver = redirect
+  allow_defer
+  allow_fail
+  data = $local_part
+  domains = special
+  retry_use_local_part
+
+accept:
+  driver = accept
+  local_parts = CALLER : wasabcwas : rewritten
+  retry_use_local_part
+  transport = appendfile
+
+test_no_rewrite:
+  driver = redirect
+  data = WAS${local_part}WAS
+  local_parts = abc@x.y.z
+  no_rewrite
+
+test_rewrite:
+  driver = redirect
+  data = WAS${local_part}WAS
+  local_parts = xyz@x.y.z
+
+
+# ----- Transports -----
+
+begin transports
+
+appendfile:
+  driver = appendfile
+  file = DIR/test-mail/$local_part
+  user = CALLER
+
+
+# ----- Retry -----
+
+begin retry
+
+* * F,5d,1d
+
+# End