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