summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2023-08-03 20:52:15 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2023-08-03 20:52:15 +0100
commit8c5ab0901f665bfd16bb0a0e85cef8b26e4e7818 (patch)
treeb0f5547b49cc238a04d97c2c91cd6391222773e0 /test/confs
parent3a947de5f5b62adabe34d7e2cf0ac395b7aa47af (diff)
Testsuite: testcase for 3013
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/063545
1 files changed, 45 insertions, 0 deletions
diff --git a/test/confs/0635 b/test/confs/0635
new file mode 100644
index 000000000..2b6a726d1
--- /dev/null
+++ b/test/confs/0635
@@ -0,0 +1,45 @@
+# Exim test configuration 0635
+
+.include DIR/aux-var/std_conf_prefix
+
+
+# ----- Main settings -----
+
+domainlist local_domains = @
+
+acl_smtp_rcpt = accept
+acl_smtp_data = check_data
+trusted_users = CALLER
+
+
+# ----- ACL -----
+
+begin acl
+
+check_data:
+ accept logwrite = \$recipients: "$recipients"
+ logwrite = run-wrapped \$recipients: "${run{/bin/echo $recipients}}"
+
+# ----- Routers -----
+
+begin routers
+
+fail_remote_domains:
+ driver = redirect
+ domains = ! +local_domains
+ data = :fail: unrouteable mail domain "$domain"
+
+localuser:
+ driver = accept
+ check_local_user
+ transport = local_delivery
+
+# ----- Transports -----
+
+begin transports
+
+local_delivery:
+ driver = appendfile
+ file = DIR/test-mail/$local_part_data
+
+# End