1 # TLS session resumption
5 # (requires SSLKEYLOGFILE added to /etc/sudoers)
6 # SSLKEYLOGFILE=/home/jgh/git/exim/test/foo sudo exim -DSERVER=server -bd -oX PORT_D
9 exim -DSERVER=server -DOPTION=NORMAL:!VERS-TLS1.3 -bd -oX PORT_D:PORT_D2
11 exim -DVALUE=resume -odf getticket@test.ex
12 Test message. Contains FF: ÿ
14 exim -DVALUE=resume -odf resume@test.ex hostnotresume@test.ex xyz@test.ex
15 Test message to two different hosts, one does not support resume
17 # allow time for ticket to hit renewal time
19 exim -DVALUE=resume -odf renewal@test.ex
22 exim -DVALUE=resume -odf postrenewal@test.ex
26 exim -DVALUE=resume -odf timeout@test.ex
29 exim -odf notreq@test.ex
30 Test message, not requesting resumption.
32 sudo rm -f DIR/spool/db/tls
33 exim -odf -DVALUE=resume noverify_getticket@test.ex
34 Dest on this means the server cert will not verify (but try_verify will permit it)
36 exim -odf -DVALUE=resume noverify_resume@test.ex
37 Dest on this means the server cert will not verify (but try_verify will permit it)
40 exim -DVALUE=resume -odf resume@test.ex
42 exim -DVALUE=resume -DSELECTOR=smtps -odf getticket@test.ex
44 exim -DVALUE=resume -DSELECTOR=smtps -odf resume@test.ex
48 sudo rm -f DIR/spool/db/tls
52 exim -DSERVER=server -DOPTION=NORMAL -bd -oX PORT_D:PORT_D2
54 exim -DVALUE=resume -odf getticket@test.ex
55 Test message. Contains FF: ÿ
57 exim -DVALUE=resume -odf resume@test.ex hostnotresume@test.ex xyz@test.ex
58 Test message to two different hosts, one does not support resume
60 # allow time for ticket to hit renewal time
62 exim -DVALUE=resume -odf renewal@test.ex
65 exim -DVALUE=resume -odf postrenewal@test.ex
69 exim -DVALUE=resume -odf timeout@test.ex
72 exim -odf notreq@test.ex
73 Test message, not requesting resumption.
76 # Test the host_name_extract transport option. Due to the change the second
77 # message's connection should not offer a session. The third should (on the 2nd),
78 # as should the fourth (on the 1st).
79 sudo rm -f DIR/spool/db/tls*
80 exim -DVALUE=resume -odf getticket@test.ex
82 exim -DVALUE=resume -DHELO_MSG=differenthost -odf noresume@test.ex
84 exim -DVALUE=resume -DHELO_MSG=differenthost -odf resume@test.ex
86 exim -DVALUE=resume -odf resume@test.ex
89 exim -DVALUE=resume -DSELECTOR=smtps -odf getticket@test.ex
91 exim -DVALUE=resume -DSELECTOR=smtps -odf resume@test.ex