Commit | Line | Data |
---|---|---|
59371ea7 PH |
1 | # ACL basic tests |
2 | exim -bh 1.2.3.4 | |
3 | mail from:<x@y> | |
4 | rcpt to:<postmaster@test.ex> | |
5 | rcpt to:<z@z> | |
6 | rcpt to:<x@test.ex> | |
7 | rcpt to:<userx@test.ex> | |
8 | rcpt to:<r@relay.test.ex> | |
9 | rcpt to:<x@deny.test.ex> | |
10 | rcpt to:<x@refuse.test.ex> | |
11 | rcpt to:<x@nopass> | |
12 | rcpt to:<x@wontpass> | |
13 | quit | |
14 | **** | |
15 | exim -bh 5.6.7.8 | |
16 | mail from:<x@y> | |
17 | rcpt to:<x@y> | |
18 | rcpt to:<x@test.ex> | |
19 | rcpt to:<userx@test.ex> | |
20 | rcpt to:<spqr@test.ex> | |
21 | quit | |
22 | **** | |
23 | exim -bh 9.9.9.9 | |
24 | mail from:<x@y> | |
25 | rcpt to:<x@y> | |
26 | rcpt to:<a@b> | |
27 | quit | |
28 | **** | |
29 | exim -bh 9.9.9.8 | |
30 | mail from:<x@y> | |
31 | rcpt to:<x@y> | |
32 | rcpt to:<a@b> | |
33 | quit | |
34 | **** | |
35 | exim -bh 9.9.9.255 | |
36 | mail from:<x@y> | |
37 | rcpt to:<x@y> | |
38 | rcpt to:<a@b> | |
39 | quit | |
40 | **** | |
41 | exim -bh 5.6.8.1 | |
42 | mail from:<x@y> | |
43 | rcpt to:<x@y> | |
44 | rcpt to:<y@x> | |
45 | rset | |
46 | mail from:<user1@domain1> | |
47 | rcpt to:<x@y> | |
48 | rset | |
49 | mail from:<user2@domain1> | |
50 | rcpt to:<x@y> | |
51 | rset | |
52 | mail from:<user1@domain2> | |
53 | rcpt to:<x@y> | |
54 | rset | |
55 | mail from:<ok@ok.ok> | |
56 | rcpt to:<x@y> | |
57 | rcpt to:<y@x> | |
58 | rset | |
59 | quit | |
60 | **** | |
61 | exim -bh 5.6.11.1 | |
62 | mail from:<x@y> | |
63 | rcpt to:<x@y> | |
64 | rcpt to:<x2@y> | |
65 | rcpt to:<y2@y> | |
66 | quit | |
67 | **** | |
68 | exim -bh 5.6.12.1 | |
69 | mail from:<x@y> | |
70 | rcpt to:<x@ok> | |
71 | rcpt to:<x@y> | |
72 | quit | |
73 | **** | |
74 | exim -bh 5.6.12.2 | |
75 | mail from:<x@y> | |
76 | rcpt to:<x@ok> | |
77 | rcpt to:<x@y> | |
78 | quit | |
79 | **** | |
80 | exim -bh 8.8.8.8 | |
81 | mail from:<x@y> | |
82 | rcpt to:<x@y> | |
83 | quit | |
84 | **** | |
85 | exim -bh 5.6.13.1 | |
86 | mail from:<x@y> | |
87 | rcpt to:<x@y> | |
88 | rcpt to:<x1@y> | |
89 | rcpt to:<x2@y> | |
90 | quit | |
91 | **** | |
92 | exim -bh V4NET.11.12.13 | |
93 | mail from:<x@y> | |
94 | rcpt to:<x@y> | |
95 | rcpt to:<x1@y> | |
96 | quit | |
97 | **** | |
98 | exim -bh V4NET.11.12.12 | |
99 | mail from:<x@y> | |
100 | rcpt to:<x@y> | |
101 | rcpt to:<x1@y> | |
102 | quit | |
103 | **** | |
104 | exim -bh 20.20.20.20 | |
105 | mail from:<x@y> | |
106 | rcpt to:<x1@y> | |
107 | rcpt to:<x2@y> | |
108 | quit | |
109 | **** | |
110 | exim -bh 20.20.20.20 | |
111 | mail from:<userx@y> | |
112 | rcpt to:<x1@y> | |
113 | rcpt to:<userx@y> | |
114 | quit | |
115 | **** | |
116 | exim -bh 21.21.21.21 | |
117 | mail from:<userx@y> | |
118 | rcpt to:<x1@y> | |
119 | rcpt to:<userx@y> | |
120 | rcpt to:<fail@y> | |
121 | rset | |
122 | mail from:<x@y> | |
123 | rcpt to:<x1@y> | |
124 | rcpt to:<x2@y> | |
125 | rset | |
126 | mail from:<fail@y> | |
127 | rcpt to:<x@y> | |
128 | quit | |
129 | **** | |
130 | exim -bh 22.22.22.22 | |
131 | mail from:<userx@y> | |
132 | rcpt to:<userx@y> | |
133 | rcpt to:<x@y> | |
134 | quit | |
135 | **** | |
136 | exim -bh 23.23.23.0 | |
137 | mail from:<x@y> | |
138 | rcpt to:<userx@y> | |
139 | rset | |
140 | mail from:<userx@y> | |
141 | rcpt to:<userx@y> | |
142 | quit | |
143 | **** | |
144 | exim -bh 23.23.23.1 | |
145 | mail from:<x@y> | |
146 | rcpt to:<userx@y> | |
147 | quit | |
148 | **** | |
149 | exim -bh 24.24.24.24 | |
150 | mail from:<x@y> | |
151 | rcpt to:<userx@y> | |
152 | quit | |
153 | **** | |
154 | exim -bh 25.25.25.25 | |
155 | mail from:<x@y> | |
156 | rcpt to:<x@y> | |
157 | quit | |
158 | **** | |
159 | exim -bh 26.26.26.26 | |
160 | mail from:<> | |
161 | rcpt to:<x@y> | |
162 | rcpt to:<y@y> | |
163 | rcpt to:<z@y> | |
164 | quit | |
165 | **** | |
166 | exim -bh 27.27.27.27 | |
167 | mail from:<> | |
168 | rcpt to:<x@y> | |
169 | quit | |
170 | **** | |
171 | exim -bh 28.28.28.28 | |
172 | mail from:<> | |
173 | rcpt to:<x@y> | |
174 | rset | |
175 | mail from:<a@okdomain> | |
176 | rcpt to:<x@y> | |
177 | rset | |
178 | mail from:<a@baddomain> | |
179 | rcpt to:<x@y> | |
180 | quit | |
181 | **** | |
182 | exim -bh V4NET.0.0.3 | |
183 | mail from:<> | |
184 | rcpt to:<x@y> | |
185 | quit | |
186 | **** | |
187 | exim -bh V4NET.0.0.97 | |
188 | mail from:<> | |
189 | rcpt to:<x@y> | |
190 | quit | |
191 | **** | |
7e8360e6 JH |
192 | # This resolves to a name which will give `try again' when looked up |
193 | exim -bh V4NET.99.99.96 | |
194 | mail from:<> | |
195 | rcpt to:<x@y> | |
196 | quit | |
197 | **** | |
198 | exim -bh V4NET.99.99.96 | |
199 | mail from:<> | |
200 | rcpt to:<defer_ok@y> | |
201 | quit | |
202 | **** | |
59371ea7 PH |
203 | exim -bh 29.29.29.29 |
204 | mail from:<a@localhost> | |
205 | rcpt to:<x@y> | |
206 | rset | |
207 | mail from:<a@elsewhere> | |
208 | rcpt to:<x@y> | |
209 | quit | |
210 | **** | |
211 | exim -bh 30.30.30.30 | |
212 | mail from:<a@ten-1> | |
213 | rcpt to:<x@y> | |
214 | rset | |
215 | mail from:<a@ten-2> | |
216 | rcpt to:<x@y> | |
217 | rset | |
218 | mail from:<a@13.12.11.V4NET.rbl> | |
219 | rcpt to:<x@y> | |
220 | quit | |
221 | **** | |
222 | exim -bh 31.31.31.31 | |
223 | mail from:<x@y> | |
224 | rcpt to:<x@y> | |
225 | quit | |
226 | **** | |
227 | exim -odi -bs -oMa 32.32.32.32 | |
228 | mail from:<userx@test.ex> | |
229 | rcpt to:<userx-vs@test.ex> | |
230 | data | |
231 | Test with verify sender. | |
232 | . | |
233 | quit | |
234 | **** | |
235 | exim -odi -bs -oMa 32.32.32.32 | |
236 | mail from:<userx@test.ex> | |
237 | rcpt to:<userx@test.ex> | |
238 | data | |
239 | Test without verify sender. | |
240 | . | |
241 | quit | |
242 | **** | |
243 | exim -bh 33.33.33.33 | |
244 | mail from:<x@y> | |
245 | rcpt to:<x1@y> | |
246 | rcpt to:<x2@y> | |
247 | quit | |
248 | **** | |
249 | # The 1 causes a 1-second delay in the test.again.dns lookup | |
250 | exim -bh 44.44.44.1 | |
251 | mail from:<x@y> | |
252 | rcpt to:<x@y> | |
253 | quit | |
254 | **** | |
255 | exim -odi -bs -oMa 55.55.55.55 | |
256 | mail from:<userx@test.ex> | |
257 | rcpt to:<userx@test.ex> | |
258 | data | |
259 | ACL header adding test. | |
260 | . | |
261 | quit | |
262 | **** | |
263 | exim -odi -bs -oMa 56.56.56.56 | |
264 | mail from:<userx@test.ex> | |
265 | rcpt to:<cond-yes@test.ex> | |
266 | data | |
267 | . | |
268 | mail from:<userx@test.ex> | |
269 | rcpt to:<cond-1@test.ex> | |
270 | data | |
271 | . | |
272 | mail from:<userx@test.ex> | |
273 | rcpt to:<cond-10@test.ex> | |
274 | data | |
275 | . | |
276 | mail from:<userx@test.ex> | |
277 | rcpt to:<cond-true@test.ex> | |
278 | data | |
279 | . | |
280 | mail from:<userx@test.ex> | |
281 | rcpt to:<cond-rhubarb@test.ex> | |
282 | data | |
283 | . | |
284 | mail from:<userx@test.ex> | |
285 | rcpt to:<cond-@test.ex> | |
286 | data | |
287 | . | |
288 | mail from:<userx@test.ex> | |
289 | rcpt to:<cond-no@test.ex> | |
290 | data | |
291 | . | |
292 | mail from:<userx@test.ex> | |
293 | rcpt to:<cond-0@test.ex> | |
294 | data | |
295 | . | |
296 | mail from:<userx@test.ex> | |
297 | rcpt to:<cond-00@test.ex> | |
298 | data | |
299 | . | |
300 | mail from:<userx@test.ex> | |
301 | rcpt to:<cond-false@test.ex> | |
302 | data | |
303 | . | |
304 | quit | |
305 | **** | |
306 | exim -odi -bs -oMa 56.56.57.57 | |
307 | mail from:<userx@test.ex> | |
308 | rcpt to:<cond-yes@test.ex> | |
309 | data | |
310 | . | |
311 | mail from:<userx@test.ex> | |
312 | rcpt to:<cond-rhubarb@test.ex> | |
51c7471d JH |
313 | rset |
314 | mail from:<userx@test.ex> | |
315 | rcpt to:<cond--1@test.ex> | |
316 | data | |
317 | . | |
59371ea7 PH |
318 | quit |
319 | **** | |
320 | exim -DLOG_SELECTOR=log_selector=-acl_warn_skipped -odi -bs -oMa 56.56.56.56 | |
321 | mail from:<userx@test.ex> | |
322 | rcpt to:<cond-rhubarb@test.ex> | |
323 | data | |
324 | . | |
325 | quit | |
326 | **** | |
327 | exim -odi -bs -oMa 56.56.58.58 | |
328 | mail from:<rcpttest@test.ex> | |
329 | rcpt to:<ok1@test.ex> | |
330 | rcpt to:<bad1@test.ex> | |
331 | rcpt to:<ok2@test.ex> | |
332 | rcpt to:<ok3@test.ex> | |
333 | rcpt to:<bad2@test.ex> | |
334 | rcpt to:<bad3@test.ex> | |
335 | data | |
336 | . | |
337 | quit | |
338 | **** | |
339 | exim -odi -bs -oMa 56.56.59.59 | |
340 | mail from:<rcpttest@test.ex> | |
341 | rcpt to:<fail@test.ex> | |
342 | quit | |
343 | **** | |
344 | exim -odi -bs -oMa V4NET.11.12.13 | |
345 | mail from:<x@y> | |
346 | rcpt to:<x@y> | |
347 | rcpt to:<x1@y> | |
348 | quit | |
349 | **** | |
0b26748a PH |
350 | exim -bh 60.60.60.60 |
351 | mail from:<x@y> | |
352 | rcpt to:<x@y> | |
353 | rcpt to:<a@b> | |
354 | quit | |
355 | **** |