Commit | Line | Data |
---|---|---|
ff966302 JH |
1 | # fast-ramp continued-delivery queue run |
2 | # Exim test configuration 0999 | |
3 | # | |
4 | # This feature has testability problems, because it results in | |
5 | # parallel processing of the queue by two concurrent processes | |
6 | # - the daemon, having been notified by the manual "-qq" process | |
7 | # once a sufficient list for the destination has been built, and | |
8 | # the aforementioned "-qq" process once it completes the first phase. | |
9 | # We don't really want to add yet another testsuite-only option to | |
10 | # force the latter to not be done. | |
11 | # So the best we can do is check that at least some deliveries were | |
12 | # made by the daemon. | |
13 | # | |
14 | exim -DSERVER=server -bd -q30m -odd -oX PORT_D | |
15 | **** | |
16 | # | |
17 | exim -bs | |
18 | mail from:ralph@dustyshoes.tld | |
19 | rcpt to:bob@anotherone.tld | |
20 | data | |
21 | This is a test message. | |
22 | It has three lines. | |
23 | This is the last line. | |
24 | . | |
25 | RSET | |
26 | mail from:ralph@dustyshoes.tld | |
27 | rcpt to:bob@anotherone.tld | |
28 | data | |
29 | Subject: message_id 1 | |
30 | ||
31 | This is message number 1. | |
32 | . | |
33 | RSET | |
34 | mail from:ralph@dustyshoes.tld | |
35 | rcpt to:bob@anotherone.tld | |
36 | data | |
37 | Subject: message_id 2 | |
38 | ||
39 | This is message number 2. | |
40 | . | |
41 | RSET | |
42 | mail from:ralph@dustyshoes.tld | |
43 | rcpt to:bob@anotherone.tld | |
44 | data | |
45 | Subject: message_id 3 | |
46 | ||
47 | This is message number 3. | |
48 | . | |
49 | RSET | |
50 | mail from:ralph@dustyshoes.tld | |
51 | rcpt to:bob@anotherone.tld | |
52 | data | |
53 | Subject: message_id 4 | |
54 | ||
55 | This is message number 4. | |
56 | . | |
57 | RSET | |
58 | mail from:ralph@dustyshoes.tld | |
59 | rcpt to:bob@anotherone.tld | |
60 | data | |
61 | Subject: message_id 5 | |
62 | ||
63 | This is message number 5. | |
64 | . | |
65 | RSET | |
66 | mail from:ralph@dustyshoes.tld | |
67 | rcpt to:bob@anotherone.tld | |
68 | data | |
69 | Subject: message_id 6 | |
70 | ||
71 | This is message number 6. | |
72 | . | |
73 | RSET | |
74 | mail from:ralph@dustyshoes.tld | |
75 | rcpt to:bob@anotherone.tld | |
76 | data | |
77 | Subject: message_id 7 | |
78 | ||
79 | This is message number 7. | |
80 | . | |
81 | RSET | |
82 | mail from:ralph@dustyshoes.tld | |
83 | rcpt to:bob@anotherone.tld | |
84 | data | |
85 | Subject: message_id 8 | |
86 | ||
87 | This is message number 8. | |
88 | . | |
89 | RSET | |
90 | mail from:ralph@dustyshoes.tld | |
91 | rcpt to:bob@anotherone.tld | |
92 | data | |
93 | Subject: message_id 9 | |
94 | ||
95 | This is message number 9. | |
96 | . | |
97 | RSET | |
98 | mail from:ralph@dustyshoes.tld | |
99 | rcpt to:bob@anotherone.tld | |
100 | data | |
101 | Subject: message_id 10 | |
102 | ||
103 | This is message number 10. | |
104 | . | |
105 | RSET | |
106 | mail from:ralph@dustyshoes.tld | |
107 | rcpt to:bob@anotherone.tld | |
108 | data | |
109 | Subject: message_id 11 | |
110 | ||
111 | This is message number 11. | |
112 | . | |
113 | RSET | |
114 | mail from:ralph@dustyshoes.tld | |
115 | rcpt to:bob@anotherone.tld | |
116 | data | |
117 | Subject: message_id 12 | |
118 | ||
119 | This is message number 12. | |
120 | . | |
121 | RSET | |
122 | mail from:ralph@dustyshoes.tld | |
123 | rcpt to:bob@anotherone.tld | |
124 | data | |
125 | Subject: message_id 13 | |
126 | ||
127 | This is message number 13. | |
128 | . | |
129 | RSET | |
130 | mail from:ralph@dustyshoes.tld | |
131 | rcpt to:bob@anotherone.tld | |
132 | data | |
133 | Subject: message_id 14 | |
134 | ||
135 | This is message number 14. | |
136 | . | |
137 | RSET | |
138 | mail from:ralph@dustyshoes.tld | |
139 | rcpt to:bob@anotherone.tld | |
140 | data | |
141 | Subject: message_id 15 | |
142 | ||
143 | This is message number 15. | |
144 | . | |
145 | RSET | |
146 | mail from:ralph@dustyshoes.tld | |
147 | rcpt to:bob@anotherone.tld | |
148 | data | |
149 | Subject: message_id 16 | |
150 | ||
151 | This is message number 16. | |
152 | . | |
153 | RSET | |
154 | mail from:ralph@dustyshoes.tld | |
155 | rcpt to:bob@anotherone.tld | |
156 | data | |
157 | Subject: message_id 17 | |
158 | ||
159 | This is message number 17. | |
160 | . | |
161 | RSET | |
162 | mail from:ralph@dustyshoes.tld | |
163 | rcpt to:bob@anotherone.tld | |
164 | data | |
165 | Subject: message_id 18 | |
166 | ||
167 | This is message number 18. | |
168 | . | |
169 | RSET | |
170 | mail from:ralph@dustyshoes.tld | |
171 | rcpt to:bob@anotherone.tld | |
172 | data | |
173 | Subject: message_id 19 | |
174 | ||
175 | This is message number 19. | |
176 | . | |
177 | RSET | |
178 | mail from:ralph@dustyshoes.tld | |
179 | rcpt to:bob@anotherone.tld | |
180 | data | |
181 | Subject: message_id 20 | |
182 | ||
183 | This is message number 20. | |
184 | . | |
185 | RSET | |
186 | mail from:ralph@dustyshoes.tld | |
187 | rcpt to:bob@anotherone.tld | |
188 | data | |
189 | Subject: message_id 21 | |
190 | ||
191 | This is message number 21. | |
192 | . | |
193 | RSET | |
194 | mail from:ralph@dustyshoes.tld | |
195 | rcpt to:bob@anotherone.tld | |
196 | data | |
197 | Subject: message_id 22 | |
198 | ||
199 | This is message number 22. | |
200 | . | |
201 | RSET | |
202 | mail from:ralph@dustyshoes.tld | |
203 | rcpt to:bob@anotherone.tld | |
204 | data | |
205 | Subject: message_id 23 | |
206 | ||
207 | This is message number 23. | |
208 | . | |
209 | RSET | |
210 | mail from:ralph@dustyshoes.tld | |
211 | rcpt to:bob@anotherone.tld | |
212 | data | |
213 | Subject: message_id 24 | |
214 | ||
215 | This is message number 24. | |
216 | . | |
217 | RSET | |
218 | mail from:ralph@dustyshoes.tld | |
219 | rcpt to:bob@anotherone.tld | |
220 | data | |
221 | Subject: message_id 25 | |
222 | ||
223 | This is message number 25. | |
224 | . | |
225 | RSET | |
226 | mail from:ralph@dustyshoes.tld | |
227 | rcpt to:bob@anotherone.tld | |
228 | data | |
229 | Subject: message_id 26 | |
230 | ||
231 | This is message number 26. | |
232 | . | |
233 | RSET | |
234 | mail from:ralph@dustyshoes.tld | |
235 | rcpt to:bob@anotherone.tld | |
236 | data | |
237 | Subject: message_id 27 | |
238 | ||
239 | This is message number 27. | |
240 | . | |
241 | RSET | |
242 | mail from:ralph@dustyshoes.tld | |
243 | rcpt to:bob@anotherone.tld | |
244 | data | |
245 | Subject: message_id 28 | |
246 | ||
247 | This is message number 28. | |
248 | . | |
249 | RSET | |
250 | mail from:ralph@dustyshoes.tld | |
251 | rcpt to:bob@anotherone.tld | |
252 | data | |
253 | Subject: message_id 29 | |
254 | ||
255 | This is message number 29. | |
256 | . | |
257 | RSET | |
258 | mail from:ralph@dustyshoes.tld | |
259 | rcpt to:bob@anotherone.tld | |
260 | data | |
261 | Subject: message_id 30 | |
262 | ||
263 | This is message number 30. | |
264 | . | |
265 | RSET | |
266 | mail from:ralph@dustyshoes.tld | |
267 | rcpt to:bob@anotherone.tld | |
268 | data | |
269 | Subject: message_id 31 | |
270 | ||
271 | This is message number 31. | |
272 | . | |
273 | RSET | |
274 | mail from:ralph@dustyshoes.tld | |
275 | rcpt to:bob@anotherone.tld | |
276 | data | |
277 | Subject: message_id 32 | |
278 | ||
279 | This is message number 32. | |
280 | . | |
281 | RSET | |
282 | mail from:ralph@dustyshoes.tld | |
283 | rcpt to:bob@anotherone.tld | |
284 | data | |
285 | Subject: message_id 33 | |
286 | ||
287 | This is message number 33. | |
288 | . | |
289 | RSET | |
290 | mail from:ralph@dustyshoes.tld | |
291 | rcpt to:bob@anotherone.tld | |
292 | data | |
293 | Subject: message_id 34 | |
294 | ||
295 | This is message number 34. | |
296 | . | |
297 | RSET | |
298 | mail from:ralph@dustyshoes.tld | |
299 | rcpt to:bob@anotherone.tld | |
300 | data | |
301 | Subject: message_id 35 | |
302 | ||
303 | This is message number 35. | |
304 | . | |
305 | RSET | |
306 | mail from:ralph@dustyshoes.tld | |
307 | rcpt to:bob@anotherone.tld | |
308 | data | |
309 | Subject: message_id 36 | |
310 | ||
311 | This is message number 36. | |
312 | . | |
313 | RSET | |
314 | mail from:ralph@dustyshoes.tld | |
315 | rcpt to:bob@anotherone.tld | |
316 | data | |
317 | Subject: message_id 37 | |
318 | ||
319 | This is message number 37. | |
320 | . | |
321 | RSET | |
322 | mail from:ralph@dustyshoes.tld | |
323 | rcpt to:bob@anotherone.tld | |
324 | data | |
325 | Subject: message_id 38 | |
326 | ||
327 | This is message number 38. | |
328 | . | |
329 | RSET | |
330 | mail from:ralph@dustyshoes.tld | |
331 | rcpt to:bob@anotherone.tld | |
332 | data | |
333 | Subject: message_id 39 | |
334 | ||
335 | This is message number 39. | |
336 | . | |
337 | RSET | |
338 | mail from:ralph@dustyshoes.tld | |
339 | rcpt to:bob@anotherone.tld | |
340 | data | |
341 | Subject: message_id 40 | |
342 | ||
343 | This is message number 40. | |
344 | . | |
345 | RSET | |
346 | mail from:ralph@dustyshoes.tld | |
347 | rcpt to:bob@anotherone.tld | |
348 | data | |
349 | Subject: message_id 41 | |
350 | ||
351 | This is message number 41. | |
352 | . | |
353 | RSET | |
354 | mail from:ralph@dustyshoes.tld | |
355 | rcpt to:bob@anotherone.tld | |
356 | data | |
357 | Subject: message_id 42 | |
358 | ||
359 | This is message number 42. | |
360 | . | |
361 | RSET | |
362 | mail from:ralph@dustyshoes.tld | |
363 | rcpt to:bob@anotherone.tld | |
364 | data | |
365 | Subject: message_id 43 | |
366 | ||
367 | This is message number 43. | |
368 | . | |
369 | RSET | |
370 | mail from:ralph@dustyshoes.tld | |
371 | rcpt to:bob@anotherone.tld | |
372 | data | |
373 | Subject: message_id 44 | |
374 | ||
375 | This is message number 44. | |
376 | . | |
377 | RSET | |
378 | mail from:ralph@dustyshoes.tld | |
379 | rcpt to:bob@anotherone.tld | |
380 | data | |
381 | Subject: message_id 45 | |
382 | ||
383 | This is message number 45. | |
384 | . | |
385 | RSET | |
386 | mail from:ralph@dustyshoes.tld | |
387 | rcpt to:bob@anotherone.tld | |
388 | data | |
389 | Subject: message_id 46 | |
390 | ||
391 | This is message number 46. | |
392 | . | |
393 | RSET | |
394 | mail from:ralph@dustyshoes.tld | |
395 | rcpt to:bob@anotherone.tld | |
396 | data | |
397 | Subject: message_id 47 | |
398 | ||
399 | This is message number 47. | |
400 | . | |
401 | RSET | |
402 | mail from:ralph@dustyshoes.tld | |
403 | rcpt to:bob@anotherone.tld | |
404 | data | |
405 | Subject: message_id 48 | |
406 | ||
407 | This is message number 48. | |
408 | . | |
409 | RSET | |
410 | mail from:ralph@dustyshoes.tld | |
411 | rcpt to:bob@anotherone.tld | |
412 | data | |
413 | Subject: message_id 49 | |
414 | ||
415 | This is message number 49. | |
416 | . | |
417 | RSET | |
418 | mail from:ralph@dustyshoes.tld | |
419 | rcpt to:bob@anotherone.tld | |
420 | data | |
421 | Subject: message_id 50 | |
422 | ||
423 | This is message number 50. | |
424 | . | |
425 | RSET | |
426 | mail from:ralph@dustyshoes.tld | |
427 | rcpt to:bob@anotherone.tld | |
428 | data | |
429 | Subject: message_id 51 | |
430 | ||
431 | This is message number 51. | |
432 | . | |
433 | RSET | |
434 | mail from:ralph@dustyshoes.tld | |
435 | rcpt to:bob@anotherone.tld | |
436 | data | |
437 | Subject: message_id 52 | |
438 | ||
439 | This is message number 52. | |
440 | . | |
441 | RSET | |
442 | mail from:ralph@dustyshoes.tld | |
443 | rcpt to:bob@anotherone.tld | |
444 | data | |
445 | Subject: message_id 53 | |
446 | ||
447 | This is message number 53. | |
448 | . | |
449 | RSET | |
450 | mail from:ralph@dustyshoes.tld | |
451 | rcpt to:bob@anotherone.tld | |
452 | data | |
453 | Subject: message_id 54 | |
454 | ||
455 | This is message number 54. | |
456 | . | |
457 | RSET | |
458 | mail from:ralph@dustyshoes.tld | |
459 | rcpt to:bob@anotherone.tld | |
460 | data | |
461 | Subject: message_id 55 | |
462 | ||
463 | This is message number 55. | |
464 | . | |
465 | RSET | |
466 | mail from:ralph@dustyshoes.tld | |
467 | rcpt to:bob@anotherone.tld | |
468 | data | |
469 | Subject: message_id 56 | |
470 | ||
471 | This is message number 56. | |
472 | . | |
473 | RSET | |
474 | mail from:ralph@dustyshoes.tld | |
475 | rcpt to:bob@anotherone.tld | |
476 | data | |
477 | Subject: message_id 57 | |
478 | ||
479 | This is message number 57. | |
480 | . | |
481 | RSET | |
482 | mail from:ralph@dustyshoes.tld | |
483 | rcpt to:bob@anotherone.tld | |
484 | data | |
485 | Subject: message_id 58 | |
486 | ||
487 | This is message number 58. | |
488 | . | |
489 | RSET | |
490 | mail from:ralph@dustyshoes.tld | |
491 | rcpt to:bob@anotherone.tld | |
492 | data | |
493 | Subject: message_id 59 | |
494 | ||
495 | This is message number 59. | |
496 | . | |
497 | RSET | |
498 | mail from:ralph@dustyshoes.tld | |
499 | rcpt to:bob@anotherone.tld | |
500 | data | |
501 | Subject: message_id 60 | |
502 | ||
503 | This is message number 60. | |
504 | . | |
505 | RSET | |
506 | mail from:ralph@dustyshoes.tld | |
507 | rcpt to:bob@anotherone.tld | |
508 | data | |
509 | Subject: message_id 61 | |
510 | ||
511 | This is message number 61. | |
512 | . | |
513 | RSET | |
514 | mail from:ralph@dustyshoes.tld | |
515 | rcpt to:bob@anotherone.tld | |
516 | data | |
517 | Subject: message_id 62 | |
518 | ||
519 | This is message number 62. | |
520 | . | |
521 | RSET | |
522 | mail from:ralph@dustyshoes.tld | |
523 | rcpt to:bob@anotherone.tld | |
524 | data | |
525 | Subject: message_id 63 | |
526 | ||
527 | This is message number 63. | |
528 | . | |
529 | RSET | |
530 | mail from:ralph@dustyshoes.tld | |
531 | rcpt to:bob@anotherone.tld | |
532 | data | |
533 | Subject: message_id 64 | |
534 | ||
535 | This is message number 64. | |
536 | . | |
537 | RSET | |
538 | mail from:ralph@dustyshoes.tld | |
539 | rcpt to:bob@anotherone.tld | |
540 | data | |
541 | Subject: message_id 65 | |
542 | ||
543 | This is message number 65. | |
544 | . | |
545 | RSET | |
546 | mail from:ralph@dustyshoes.tld | |
547 | rcpt to:bob@anotherone.tld | |
548 | data | |
549 | Subject: message_id 66 | |
550 | ||
551 | This is message number 66. | |
552 | . | |
553 | RSET | |
554 | mail from:ralph@dustyshoes.tld | |
555 | rcpt to:bob@anotherone.tld | |
556 | data | |
557 | Subject: message_id 67 | |
558 | ||
559 | This is message number 67. | |
560 | . | |
561 | RSET | |
562 | mail from:ralph@dustyshoes.tld | |
563 | rcpt to:bob@anotherone.tld | |
564 | data | |
565 | Subject: message_id 68 | |
566 | ||
567 | This is message number 68. | |
568 | . | |
569 | RSET | |
570 | mail from:ralph@dustyshoes.tld | |
571 | rcpt to:bob@anotherone.tld | |
572 | data | |
573 | Subject: message_id 69 | |
574 | ||
575 | This is message number 69. | |
576 | . | |
577 | RSET | |
578 | mail from:ralph@dustyshoes.tld | |
579 | rcpt to:bob@anotherone.tld | |
580 | data | |
581 | Subject: message_id 70 | |
582 | ||
583 | This is message number 70. | |
584 | . | |
585 | RSET | |
586 | mail from:ralph@dustyshoes.tld | |
587 | rcpt to:bob@anotherone.tld | |
588 | data | |
589 | Subject: message_id 71 | |
590 | ||
591 | This is message number 71. | |
592 | . | |
593 | RSET | |
594 | mail from:ralph@dustyshoes.tld | |
595 | rcpt to:bob@anotherone.tld | |
596 | data | |
597 | Subject: message_id 72 | |
598 | ||
599 | This is message number 72. | |
600 | . | |
601 | RSET | |
602 | mail from:ralph@dustyshoes.tld | |
603 | rcpt to:bob@anotherone.tld | |
604 | data | |
605 | Subject: message_id 73 | |
606 | ||
607 | This is message number 73. | |
608 | . | |
609 | RSET | |
610 | mail from:ralph@dustyshoes.tld | |
611 | rcpt to:bob@anotherone.tld | |
612 | data | |
613 | Subject: message_id 74 | |
614 | ||
615 | This is message number 74. | |
616 | . | |
617 | RSET | |
618 | mail from:ralph@dustyshoes.tld | |
619 | rcpt to:bob@anotherone.tld | |
620 | data | |
621 | Subject: message_id 75 | |
622 | ||
623 | This is message number 75. | |
624 | . | |
625 | RSET | |
626 | mail from:ralph@dustyshoes.tld | |
627 | rcpt to:bob@anotherone.tld | |
628 | data | |
629 | Subject: message_id 76 | |
630 | ||
631 | This is message number 76. | |
632 | . | |
633 | RSET | |
634 | mail from:ralph@dustyshoes.tld | |
635 | rcpt to:bob@anotherone.tld | |
636 | data | |
637 | Subject: message_id 77 | |
638 | ||
639 | This is message number 77. | |
640 | . | |
641 | RSET | |
642 | mail from:ralph@dustyshoes.tld | |
643 | rcpt to:bob@anotherone.tld | |
644 | data | |
645 | Subject: message_id 78 | |
646 | ||
647 | This is message number 78. | |
648 | . | |
649 | RSET | |
650 | mail from:ralph@dustyshoes.tld | |
651 | rcpt to:bob@anotherone.tld | |
652 | data | |
653 | Subject: message_id 79 | |
654 | ||
655 | This is message number 79. | |
656 | . | |
657 | RSET | |
658 | mail from:ralph@dustyshoes.tld | |
659 | rcpt to:bob@anotherone.tld | |
660 | data | |
661 | Subject: message_id 80 | |
662 | ||
663 | This is message number 80. | |
664 | . | |
665 | quit | |
666 | **** | |
667 | # | |
668 | # | |
669 | exim -odd -qq | |
670 | **** | |
671 | # | |
672 | # | |
673 | killdaemon | |
6641ba45 | 674 | sleep 1 |
ff966302 JH |
675 | # |
676 | # Only check that we logged the right number of messages; don't care | |
677 | # about ordering or mistakes in wrong message-id | |
678 | sudo perl | |
ecf05143 | 679 | system "egrep -v '(Completed|<=|=>|is locked)' DIR/spool/log/mainlog 1>&2"; |
48a74eea | 680 | system "awk '/OK id=/{i++} END{print i, \"messages in\"}' DIR/test-stdout 1>&2"; |
6641ba45 JH |
681 | system "grep 'notify' DIR/spool/log/servermainlog 1>&2"; |
682 | system "grep -q '=> bob' DIR/spool/log/servermainlog && echo 'daemon did make at least one delivery' 1>&2"; | |
48a74eea | 683 | system "awk '/<=/{i++} END{print i, \"messages received by dest\"}' DIR/spool/log/servermainlog 1>&2"; |
6641ba45 | 684 | system "ls DIR/spool/input 1>&2"; |
ff966302 JH |
685 | **** |
686 | sudo rm DIR/spool/log/mainlog DIR/spool/log/servermainlog | |
687 | no_stdout_check | |
688 | no_msglog_check |