More new test committing.
[users/jgh/exim.git] / test / confs / 0374
diff --git a/test/confs/0374 b/test/confs/0374
new file mode 100644 (file)
index 0000000..3c1381b
--- /dev/null
@@ -0,0 +1,104 @@
+# Exim test configuration 0374
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+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 : *.test.ex
+remote_max_parallel = 1
+
+
+# ----- Routers -----
+
+begin routers
+
+u1:
+  driver = accept
+  local_parts = ^a\\d
+  transport = ut1
+  unseen
+
+ut2:
+  driver = accept
+  local_parts = ^b\\d
+  transport = ut2
+  unseen
+
+ut3:
+  driver = accept
+  local_parts = ^c\\d
+  transport = ut3
+  unseen
+
+ut4:
+  driver = accept
+  local_parts = ^d\\d
+  transport = ut4
+  unseen
+
+real:
+  driver = accept
+  transport = real
+
+
+# ----- Transports -----
+
+begin transports
+
+# Successful local transport
+ut1:
+  driver = appendfile
+  file = DIR/test-mail/$local_part-u
+  user = CALLER
+  return_path_add
+  envelope_to_add
+
+# Hard unsuccessful local transport
+
+ut2:
+  driver = pipe
+  command = /non/existent/file
+  user = CALLER
+
+# Soft unsuccessful local transport
+
+ut3:
+  driver = pipe
+  command = /non/existent/file
+  temp_errors = *
+  user = CALLER
+
+# Remote transport - all types
+
+ut4:
+  driver = smtp
+  hosts = 127.0.0.1
+  port = PORT_S
+  allow_localhost
+  max_rcpt = 1
+
+# Real delivery
+real:
+  driver = appendfile
+  file = DIR/test-mail/$local_part
+  user = CALLER
+  return_path_add
+  envelope_to_add
+
+
+# ----- Retry -----
+
+
+begin retry
+
+* * F,5d,1d
+
+
+# End