1 # TLSv1.2 session resumption
4 exim -DSERVER=server -DOPTION=+no_tlsv1_3 -bd -oX PORT_D
6 exim -DVALUE=resume -odf getticket@test.ex
9 exim -DVALUE=resume -odf resume@test.ex hostnotresume@test.ex xyz@test.ex
10 Test message to two different hosts, one does not support resume
12 # allow time for ticket to hit renewal time
14 exim -DVALUE=resume -odf renewal@test.ex
17 exim -DVALUE=resume -odf postrenewal@test.ex
21 exim -DVALUE=resume -odf aftertimeout@test.ex
24 exim -odf notreq@test.ex
25 Test message, not requesting resumption.
28 sudo rm -f DIR/spool/db/tls*
29 exim -odf -DVALUE=resume noverify_getticket@test.ex
30 Dest on this means the server cert will not verify (but try_verify will permit it)
32 exim -odf -DVALUE=resume noverify_resume@test.ex
33 Dest on this means the server cert will not verify (but try_verify will permit it)
36 # Test the host_name_extract transport option. Due to the change the second
37 # message's connection should not offer a session. The third should (on the 2nd),
38 # as should the fourth (on the 1st).
39 sudo rm -f DIR/spool/db/tls*
40 exim -DVALUE=resume -odf getticket@test.ex
42 exim -DVALUE=resume -DHELO_MSG=differenthost -odf noresume@test.ex
44 exim -DVALUE=resume -DHELO_MSG=differenthost -odf resume@test.ex
46 exim -DVALUE=resume -odf resume@test.ex
49 # Check the -k (key only) option on dumpdb
51 system 'DIR/eximdir/exim_dumpdb -k DIR/spool tls';