From ec2a355fdc961aba7ace27c624c01accd58dc1ed Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 15 Apr 2022 10:36:56 +0100 Subject: TLS resumption: support Outlook hosts-behind-loadbalancer --- test/scripts/5892-Resume-OpenSSL/5892 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/scripts/5892-Resume-OpenSSL') diff --git a/test/scripts/5892-Resume-OpenSSL/5892 b/test/scripts/5892-Resume-OpenSSL/5892 index 1fdc7e949..814a27b6b 100644 --- a/test/scripts/5892-Resume-OpenSSL/5892 +++ b/test/scripts/5892-Resume-OpenSSL/5892 @@ -24,6 +24,7 @@ Test message. exim -odf notreq@test.ex Test message, not requesting resumption. **** +# sudo rm -f DIR/spool/db/tls* exim -odf -DVALUE=resume noverify_getticket@test.ex Dest on this means the server cert will not verify (but try_verify will permit it) @@ -31,5 +32,19 @@ Dest on this means the server cert will not verify (but try_verify will permit i exim -odf -DVALUE=resume noverify_resume@test.ex Dest on this means the server cert will not verify (but try_verify will permit it) **** +# +# Test the host_name_extract transport option. Due to the change the second +# message's connection should not offer a session. The third should (on the 2nd), +# as should the fourth (on the 1st). +sudo rm -f DIR/spool/db/tls* +exim -DVALUE=resume -odf getticket@test.ex +**** +exim -DVALUE=resume -DHELO_MSG=differenthost -odf noresume@test.ex +**** +exim -DVALUE=resume -DHELO_MSG=differenthost -odf resume@test.ex +**** +exim -DVALUE=resume -odf resume@test.ex +**** +# killdaemon no_msglog_check -- cgit v1.2.3