summaryrefslogtreecommitdiff
path: root/test/confs/5402
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-05-11 21:46:57 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2012-06-04 14:57:03 +0100
commit4ed8d31a9ccdfc4a948703fd8ac3f7cb6b8fdf8e (patch)
tree68679f537112764d2493cfa7cac0f40615f01458 /test/confs/5402
parent24f66b4d1c46e638edbd1af06d3705cf0767a3c7 (diff)
Support transport hosts_avoid_tls for cutthrough.
Diffstat (limited to 'test/confs/5402')
-rw-r--r--test/confs/540258
1 files changed, 58 insertions, 0 deletions
diff --git a/test/confs/5402 b/test/confs/5402
new file mode 100644
index 000000000..aff16fad4
--- /dev/null
+++ b/test/confs/5402
@@ -0,0 +1,58 @@
+# Exim test configuration 5402
+
+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 -----
+
+log_selector = +smtp_confirmation
+tls_advertise_hosts = *
+tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+
+domainlist local_domains = test.ex : *.test.ex
+
+acl_smtp_rcpt = ${if eq {SERVER}{server}{queue}{cutthrough}}
+
+# ----- ACLs -------
+
+begin acl
+
+cutthrough:
+ accept control = cutthrough_delivery
+ verify = recipient
+
+queue:
+ accept control = queue_only
+
+# ----- Routers -----
+
+begin routers
+
+all:
+ driver = manualroute
+ domains = ! +local_domains
+ route_list = * 127.0.0.1
+ self = send
+ address_data = $local_part
+ transport = smtp
+ no_more
+
+
+# ----- Transports -----
+
+begin transports
+
+smtp:
+ driver = smtp
+ interface = HOSTIPV4
+ port = PORT_D
+ hosts_avoid_tls = ${if eq {$address_data}{usery}{*}{:}}
+
+
+# End