summaryrefslogtreecommitdiff
path: root/test/confs/0029
diff options
context:
space:
mode:
Diffstat (limited to 'test/confs/0029')
-rw-r--r--test/confs/002954
1 files changed, 54 insertions, 0 deletions
diff --git a/test/confs/0029 b/test/confs/0029
new file mode 100644
index 000000000..d0c670819
--- /dev/null
+++ b/test/confs/0029
@@ -0,0 +1,54 @@
+# Exim test configuration 0029
+
+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 -----
+
+acl_smtp_rcpt = check_rcpt
+
+
+# ------ ACL ------
+
+begin acl
+
+check_rcpt:
+ require verify = sender
+ verify = sender=\
+ ${if eq {${domain:$sender_address}}{test.ex}\
+ {${local_part:$sender_address}@abc.test.ex}\
+ {$sender_address}}
+ accept
+
+
+# ------ Routers ------
+
+begin routers
+
+r1:
+ driver = accept
+ domains = test.ex : xyz.test.ex
+ transport = t1
+
+r2:
+ driver = accept
+ domains = abc.test.ex
+ local_parts = ok
+ transport = t1
+
+
+# ------ Transports ------
+
+begin transports
+
+t1:
+ driver = appendfile
+ file = /dev/null
+
+# End