Build: use PHDRS set in the toplevel Makefile
[users/heiko/exim.git] / test / scripts / 1100-Basic-TLS / 1102
1 # TLS server: creds caching
2 #
3 #
4 mkdir -p DIR/tmp/certs
5 cp DIR/aux-fixed/cert1 DIR/tmp/certs/servercert
6 cp DIR/aux-fixed/cert1 DIR/tmp/certs/serverkey
7 #
8 #exim -d-all+tls+receive+timestamp -DSERVER=server -bd -oX PORT_D
9 exim -DSERVER=server -bd -oX PORT_D
10 ****
11 client-anytls 127.0.0.1 PORT_D
12 ??? 220
13 EHLO rhu.barb
14 ????250
15 STARTTLS
16 ??? 220
17 EHLO rhu.barb
18 ????250
19 MAIL FROM:<>
20 RCPT TO:test@example.com
21 ??? 250
22 ??? 250
23 QUIT
24 ??? 221
25 ****
26 sleep 1
27 # Now overwrite the cert.  key?
28 cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/tmp/certs/servercert
29 cp DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key DIR/tmp/certs/serverkey
30 # The watch mech waits 5 sec after the last trigger, so give that time to expire the send another message
31 sleep 7
32 client-anytls 127.0.0.1 PORT_D
33 ??? 220
34 EHLO rhu.barb
35 ????250
36 STARTTLS
37 ??? 220
38 EHLO rhu.barb
39 ????250
40 MAIL FROM:<>
41 RCPT TO:test@example.com
42 ??? 250
43 ??? 250
44 QUIT
45 ??? 221
46 ****
47 #
48 killdaemon
49 #
50 sudo rm -fr DIR/tmp
51 no_msglog_check