diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-01-21 13:06:31 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-01-21 17:33:35 +0000 |
commit | 0240e7a160721a53365aaa3bd10bb6f3de3f9f15 (patch) | |
tree | 6ad59913243585bc5dc451b22063f3ffcba195cd /test/confs/1113 | |
parent | 4718c75d346777872c87ff7d4fe0431487e618c4 (diff) |
Testsuite: TLS server testcase consolidation
Diffstat (limited to 'test/confs/1113')
-rw-r--r-- | test/confs/1113 | 76 |
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 |