Support old-format message_id spoolfiles for mailq / -bp. Bug 3050
[exim.git] / test / scripts / 0000-Basic / 0611
1 # max_parallel on transport; exiqgrep
2 need_ipv4
3 #
4 # Remote transport:
5 # preload the spool
6 exim -odq a b c
7 .
8 ****
9 # Check that exiqgrep does not fall over, refuses no selectors, and can count.
10 exiqgrep -h
11 exiqgrep -r '[bc]'
12 exiqgrep
13 exiqgrep -c -r a
14 exiqgrep -c
15 #
16 # a slow server as a test target
17 exim -DSERVER=server -bd -oX PORT_D
18 ****
19 #
20 # First and second messages should go, as separate conns due to
21 # connection_max_messages, third is deferred
22 # as third transport run denied by max_parallel
23 exim -q
24 ****
25 #
26 #
27 # Remaining message on queue should go immediately; no delay
28 # associated with retry rules
29 exim -q
30 ****
31 killdaemon
32 #
33 ########
34 #
35 #
36 # Local transport:
37 # Only one message should go as the transport takes a long
38 # time and we set max_parallel=1 to serialize it
39 exim y
40 ****
41 exim z
42 ****
43 #
44 #
45 sleep 3
46 #
47 # Remaining message on queue should go immediately; no delay
48 # associated with retry rules
49 exim -q