summaryrefslogtreecommitdiff
path: root/test/confs/0599
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-01-26 14:02:31 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2020-01-26 16:35:55 +0000
commit9438970c97adda0afb9b825b5beff5276a1d613d (patch)
tree72e9032fbef76da227c6dc31234e58e61c233011 /test/confs/0599
parente851856fc72bf126f7b649a007fb7040140d5d3c (diff)
ACL: control = queue/first_pass_route
Diffstat (limited to 'test/confs/0599')
-rw-r--r--test/confs/059954
1 files changed, 54 insertions, 0 deletions
diff --git a/test/confs/0599 b/test/confs/0599
new file mode 100644
index 000000000..54667124d
--- /dev/null
+++ b/test/confs/0599
@@ -0,0 +1,54 @@
+# Exim test configuration 0599
+# control = queue/first_pass_route
+
+.include DIR/aux-var/std_conf_prefix
+
+
+# ----- Main settings -----
+
+domainlist local_domains = @
+
+acl_smtp_rcpt = check_rcpt
+
+trusted_users = CALLER
+queue_run_in_order
+
+
+# ----- ACL -----
+
+begin acl
+
+check_rcpt:
+ accept senders = HOSTIPV4
+
+ accept local_parts = ^queue_only.*
+ control = queue_only
+
+ accept local_parts = ^first_pass_route.*
+ control = queue/first_pass_route
+
+# ----- Routers -----
+
+begin routers
+
+discard_remote_source:
+ driver = redirect
+ condition = ${if !eq {$sender_host_address}{127.0.0.1}}
+ data = :blackhole:
+
+outbound:
+ driver = accept
+ transport = smtp
+
+
+# ----- Transports -----
+
+begin transports
+
+smtp:
+ driver = smtp
+ hosts = HOSTIPV4
+ port = PORT_D
+ allow_localhost
+
+# End