summaryrefslogtreecommitdiff
path: root/test/confs/1113
diff options
context:
space:
mode:
Diffstat (limited to 'test/confs/1113')
-rw-r--r--test/confs/111376
1 files changed, 76 insertions, 0 deletions
diff --git a/test/confs/1113 b/test/confs/1113
new file mode 100644
index 000000000..67ef97bd9
--- /dev/null
+++ b/test/confs/1113
@@ -0,0 +1,76 @@
+# Exim test configuration 1113
+# SNI
+
+SERVER =
+
+.include DIR/aux-var/tls_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+domainlist local_domains = test.ex : *.test.ex
+
+acl_smtp_rcpt = acl_log_sni
+log_selector = +tls_sni
+remote_max_parallel = 1
+
+tls_advertise_hosts = *
+tls_certificate = DIR/aux-fixed/cert1
+
+
+# ------ ACL ------
+
+begin acl
+
+acl_log_sni:
+ accept
+ logwrite = SNI <$tls_in_sni>
+
+# ----- Routers -----
+
+begin routers
+
+client:
+ driver = accept
+ condition = ${if !eq {SERVER}{server}}
+ transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
+
+server:
+ driver = redirect
+ data = :blackhole:
+
+
+# ----- Transports -----
+
+begin transports
+
+send_to_server1:
+ driver = smtp
+ allow_localhost
+ hosts = HOSTIPV4
+ port = PORT_D
+ hosts_try_fastopen = :
+ tls_sni = fred
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
+
+send_to_server2:
+ driver = smtp
+ allow_localhost
+ hosts = HOSTIPV4
+ port = PORT_D
+ hosts_try_fastopen = :
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
+
+
+# ----- Retry -----
+
+
+begin retry
+
+* * F,5d,10s
+
+
+# End