summaryrefslogtreecommitdiff
path: root/test/confs/0212
diff options
context:
space:
mode:
Diffstat (limited to 'test/confs/0212')
-rw-r--r--test/confs/021294
1 files changed, 94 insertions, 0 deletions
diff --git a/test/confs/0212 b/test/confs/0212
new file mode 100644
index 000000000..3c0f49d25
--- /dev/null
+++ b/test/confs/0212
@@ -0,0 +1,94 @@
+# Exim test configuration 0212
+
+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
+domainlist relay_domains = test.ex
+
+acl_smtp_rcpt = check_recipient
+acl_smtp_vrfy = check_vrfy
+
+qualify_domain = test.ex
+smtp_accept_max_nonmail = 1000
+trusted_users = CALLER
+
+# ----- ACL -----
+
+begin acl
+
+check_recipient:
+ accept hosts = :
+ deny message = unrouteable address
+ !verify = recipient
+ accept domains = +local_domains
+ accept domains = +relay_domains
+ deny message = relay not permitted
+
+check_vrfy:
+ accept
+
+
+# ----- Routers -----
+
+begin routers
+
+fail_remote_domains:
+ driver = redirect
+ domains = ! +local_domains
+ allow_fail
+ data = :fail: unrouteable mail domain "$domain"
+
+smartuser:
+ driver = redirect
+ allow_defer
+ allow_fail
+ data = ${if match{$local_part}{^smartuser\\.(.*)}{$1}fail}
+ retry_use_local_part
+
+alias:
+ driver = redirect
+ allow_defer
+ allow_fail
+ data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
+ retry_use_local_part
+
+forward:
+ driver = redirect
+ no_check_local_user
+ file = DIR/aux-fixed/TESTNUM.$local_part.forward
+ retry_use_local_part
+
+all:
+ driver = accept
+ local_parts = userx
+ transport = local_delivery
+
+
+# ----- Transports -----
+
+begin transports
+
+local_delivery:
+ driver = appendfile
+ file = DIR/test-mail/$local_part
+ return_path_add
+ user = CALLER
+
+
+# ----- Retry -----
+
+
+begin retry
+
+* * F,5d,8h
+
+
+# End