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