LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / test / scripts / 4040-wellknown / 4040
1 # ESMTP WELLNOWN server response
2 #
3 # when WELLKNOWN leaves EXPERIMENTAL, add standalone tests
4 # for ${xtextd:str} to 0002
5 #
6 #
7 exim -DSERVER=server -bd -oX PORT_D:PORT_D2
8 ****
9 #
10 client 127.0.0.1 PORT_D
11 ??? 220
12 EHLO test
13 ??? 250-
14 ??? 250-SIZE
15 ??? 250-LIMITS
16 ??? 250-8BITMIME
17 ??? 250-PIPELINING
18 ??? 250-WELLKNOWN
19 ??? 250 HELP
20 WELLKNOWN acme-response
21 ??? 250-SIZE
22 ??? 250-
23 ??? 250-
24 ??? 250
25 QUIT
26 ??? 221
27 ****
28 #
29 # not advertised conditional on hosts_wellknown
30 client HOSTIPV4 PORT_D
31 ??? 220
32 EHLO test
33 ??? 250-
34 ??? 250-SIZE
35 ??? 250-LIMITS
36 ??? 250-8BITMIME
37 ??? 250-PIPELINING
38 ??? 250 HELP
39 QUIT
40 ??? 221
41 ****
42 #
43 # deny by acl
44 client 127.0.0.1 PORT_D2
45 ??? 220
46 EHLO test
47 ??? 250-
48 ??? 250-SIZE
49 ??? 250-LIMITS
50 ??? 250-8BITMIME
51 ??? 250-PIPELINING
52 ??? 250-WELLKNOWN
53 ??? 250 HELP
54 WELLKNOWN acme-response
55 ??? 550
56 QUIT
57 ??? 221
58 ****
59 #
60 # nonexistent file
61 client 127.0.0.1 PORT_D
62 ??? 220
63 EHLO test
64 ??? 250-
65 ??? 250-SIZE
66 ??? 250-LIMITS
67 ??? 250-8BITMIME
68 ??? 250-PIPELINING
69 ??? 250-WELLKNOWN
70 ??? 250 HELP
71 WELLKNOWN badfile
72 ??? 550
73 QUIT
74 ??? 221
75 ****
76 #
77 killdaemon
78 #
79 exim -DSERVER=server -DOPT=,key=path -bd -oX PORT_D:PORT_D2
80 ****
81 #
82 # dsearch with key=path permission
83 # basic good file
84 client 127.0.0.1 PORT_D
85 ??? 220
86 EHLO test
87 ??? 250-
88 ??? 250-SIZE
89 ??? 250-LIMITS
90 ??? 250-8BITMIME
91 ??? 250-PIPELINING
92 ??? 250-WELLKNOWN
93 ??? 250 HELP
94 WELLKNOWN acme-response
95 ??? 250-SIZE
96 ??? 250-
97 ??? 250-
98 ??? 250
99 QUIT
100 ??? 221
101 ****
102 #
103 # subdir/good file
104 client 127.0.0.1 PORT_D
105 ??? 220
106 EHLO test
107 ??? 250-
108 ??? 250-SIZE
109 ??? 250-LIMITS
110 ??? 250-8BITMIME
111 ??? 250-PIPELINING
112 ??? 250-WELLKNOWN
113 ??? 250 HELP
114 WELLKNOWN sub/acme-response
115 ??? 250-SIZE
116 ??? 250-
117 ??? 250-
118 ??? 250
119 QUIT
120 ??? 221
121 ****
122 #
123 # nonexistent file
124 client 127.0.0.1 PORT_D
125 ??? 220
126 EHLO test
127 ??? 250-
128 ??? 250-SIZE
129 ??? 250-LIMITS
130 ??? 250-8BITMIME
131 ??? 250-PIPELINING
132 ??? 250-WELLKNOWN
133 ??? 250 HELP
134 WELLKNOWN sub/badfile
135 ??? 550
136 QUIT
137 ??? 221
138 ****
139 #
140 # dotdot trap
141 client 127.0.0.1 PORT_D
142 ??? 220
143 EHLO test
144 ??? 250-
145 ??? 250-SIZE
146 ??? 250-LIMITS
147 ??? 250-8BITMIME
148 ??? 250-PIPELINING
149 ??? 250-WELLKNOWN
150 ??? 250 HELP
151 WELLKNOWN ../badfile
152 ??? 550
153 QUIT
154 ??? 221
155 ****
156 #
157 killdaemon