Get TLS SNI server-switching working with GnuTLS.
[users/heiko/exim.git] / test / scripts / 9350-Dovecot / 9350
1 # Dovecot authentication (server only)
2 exim -DSERVER=server -bd -oX PORT_D
3 ****
4 # Try without TLS
5 client -t3 127.0.0.1 PORT_D
6 ??? 220 myhost
7 EHLO xxxx
8 ??? 250-myhost
9 ??? 250-SIZE
10 ??? 250-8BITMIME
11 ??? 250-PIPELINING
12 ??? 250-AUTH
13 ??? 250-STARTTLS
14 ??? 250 HELP
15 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
16 ??? 535
17 quit
18 ??? 221
19 ****
20 # TLS, but no client certificate
21 client-gnutls -t3 127.0.0.1 PORT_D
22 ??? 220
23 EHLO xxxx
24 ??? 250-
25 ??? 250-
26 ??? 250-
27 ??? 250-
28 ??? 250-
29 ??? 250-
30 ??? 250
31 STARTTLS
32 ??? 220
33 EHLO xxxx
34 ??? 250-
35 ??? 250-
36 ??? 250-
37 ??? 250-
38 ??? 250-
39 ??? 250
40 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
41 ??? 535
42 quit
43 ??? 221
44 ****
45 # TLS with client certificate
46 client-gnutls -t3 HOSTIPV4 PORT_D DIR/aux-fixed/cert2 DIR/aux-fixed/cert2
47 ??? 220
48 EHLO xxxx
49 ??? 250-
50 ??? 250-
51 ??? 250-
52 ??? 250-
53 ??? 250-
54 ??? 250-
55 ??? 250
56 STARTTLS
57 ??? 220
58 EHLO xxxx
59 ??? 250-
60 ??? 250-
61 ??? 250-
62 ??? 250-
63 ??? 250-
64 ??? 250
65 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
66 ??? 535
67 quit
68 ??? 221
69 ****
70 killdaemon
71 no_msglog_check