Support REQUIRETLS
[users/jgh/exim.git] / test / scripts / 5910-REQUIRETLS / 5910
1 # REQUIRETLS basics
2 #
3 munge tls_anycipher
4 #
5 # Server advertises feature, onward transmission, observability
6 exim -DSERVER=server -bd -oX PORT_D
7 ****
8 #
9 client-ssl 127.0.0.1 PORT_D
10 ??? 220
11 EHLO test.ex
12 ??? 250-
13 ??? 250-SIZE
14 ??? 250-8BITMIME
15 ??? 250-PIPELINING
16 ??? 250-STARTTLS
17 ??? 250 HELP
18 STARTTLS
19 ??? 220
20 EHLO test.ex
21 ??? 250-
22 ??? 250-SIZE
23 ??? 250-8BITMIME
24 ??? 250-PIPELINING
25 ??? 250-REQUIRETLS
26 ??? 250 HELP
27 MAIL FROM:<a@test.ex> REQUIRETLS
28 ??? 250
29 RCPT TO:<dump@test.ex>
30 ??? 250
31 DATA
32 ??? 354
33 Subject: foo
34
35 content
36 .
37 ??? 250
38 QUIT
39 ??? 221
40 ****
41 #
42 exim -q
43 ****
44 exim -q
45 ****
46 #
47 #
48 # upgrade in-MTA
49 exim -DOPT=y -bs
50 MAIL FROM:<a@test.ex>
51 RCPT TO:<b@test.ex>
52 DATA
53 Subject: foo
54
55 content 
56 .
57 QUIT
58 ****
59 #
60 exim -q
61 ****
62 #
63 killdaemon
64 no_msglog_check