Dsearch: require absolute dirname
[exim.git] / test / scripts / 0000-Basic / 0599
CommitLineData
9438970c
JH
1# control = queue/first_pass_route
2#
3exim -bd -DSERVER=server -oX PORT_D
4****
5#
6# First, control=queue_only - we expact the queue run to make separate connections
7client 127.0.0.1 PORT_D
8??? 220
9HELO me
10??? 250
11MAIL FROM:<CALLER@test.ex>
12??? 250
13RCPT TO:<queue_only_1@test.ex>
14??? 250
15DATA
16??? 354
17Subject: 1
18.
19??? 250
20RSET
21??? 250
22MAIL FROM:<CALLER@test.ex>
23??? 250
24RCPT TO:<queue_only_2@test.ex>
25??? 250
26DATA
27??? 354
28Subject: 2
29.
30??? 250
31QUIT
32****
33exim -q
34****
35exim -q
36****
37#
38# Second, control=queue/first_pass_route - we expect the queue run to make only one
39# connection, and put both messages over it
40client 127.0.0.1 PORT_D
41??? 220
42HELO me
43??? 250
44MAIL FROM:<CALLER@test.ex>
45??? 250
46RCPT TO:<first_pass_route_1@test.ex>
47??? 250
48DATA
49??? 354
50Subject: 1
51.
52??? 250
53RSET
54??? 250
55MAIL FROM:<CALLER@test.ex>
56??? 250
57RCPT TO:<first_pass_route_2@test.ex>
58??? 250
59DATA
60??? 354
61Subject: 2
62.
63??? 250
64QUIT
65****
66# give time for the background routing in the exim daemon to complete
67sleep 1
68# then run the queue
69exim -q
70****
71exim -q
72****
73#
74#
75killdaemon
76no_msglog_check