Testsuite: ignore optional OCSP output from -bP testcase
[exim.git] / test / scripts / 5500-PRDR / 5500
CommitLineData
fd98a5c6
JH
1# PRDR (Per-Recipient Data Responses) server
2need_ipv4
3no_msglog_check
4#
5# 1: userx should be accepted, y should be tmp-rejected,
6# z rejected, all after data per PRDR spec
7exim -DSERVER=server -bd -oX PORT_D
8****
7eb59ff9 9client 127.0.0.1 PORT_D
fd98a5c6
JH
10??? 220
11ehlo rhu.barb
12??? 250-
13??? 250-
14??? 250-
15??? 250-
16??? 250-PRDR
17??? 250
18mail from:<> PRDR
19??? 250
20rcpt to:<userx@test.ex>
21??? 250
22rcpt to:<usery@test.ex>
23??? 250
24rcpt to:<userz@test.ex>
25??? 250
26data
27??? 354
28Sender: sender@some.where
29.
30??? 353
31??? 250
32??? 450
33??? 550
34??? 250
35quit
36??? 221
37****
858e91c2 38millisleep 500
fd98a5c6
JH
39#
40#
41# 2: traditional data acl should be called, resulting in an overall reject
7eb59ff9 42client 127.0.0.1 PORT_D
fd98a5c6
JH
43??? 220
44ehlo rhu.barb
45??? 250-
46??? 250-
47??? 250-
48??? 250-
49??? 250-PRDR
50??? 250
51mail from:<> PRDR
52??? 250
53rcpt to:<userp@test.ex>
54??? 250
55rcpt to:<userq@test.ex>
56??? 250
57data
58??? 354
59Sender: sender@some.where
60.
61??? 353
62??? 250
63??? 250
64??? 550
65quit
66??? 221
67****
858e91c2 68millisleep 500
fd98a5c6
JH
69#
70#
71# 3: PRDR should be avoided for a single-recipient message
72# even though the client showed support.
7eb59ff9 73client 127.0.0.1 PORT_D
fd98a5c6
JH
74??? 220
75ehlo rhu.barb
76??? 250-
77??? 250-
78??? 250-
79??? 250-
80??? 250-PRDR
81??? 250
82mail from:<> PRDR
83??? 250
84rcpt to:<user1@test.ex>
85??? 250
86data
87??? 354
88Sender: sender@some.where
89.
90??? 250
91quit
92??? 221
93****
858e91c2 94millisleep 500
fd98a5c6
JH
95#
96# 4: double temp-reject
7eb59ff9 97client 127.0.0.1 PORT_D
fd98a5c6
JH
98??? 220
99ehlo rhu.barb
100??? 250-
101??? 250-
102??? 250-
103??? 250-
104??? 250-PRDR
105??? 250
106mail from:<> PRDR
107??? 250
108rcpt to:<usery@test.ex>
109??? 250
110rcpt to:<usery@test.ex>
111??? 250
112data
113??? 354
114Sender: sender@some.where
115.
116??? 353
117??? 450
118??? 450
119??? 250
120quit
121??? 221
122****
858e91c2 123millisleep 500
fd98a5c6
JH
124#
125# 5: double reject
7eb59ff9 126client 127.0.0.1 PORT_D
fd98a5c6
JH
127??? 220
128ehlo rhu.barb
129??? 250-
130??? 250-
131??? 250-
132??? 250-
133??? 250-PRDR
134??? 250
135mail from:<> PRDR
136??? 250
137rcpt to:<userz@test.ex>
138??? 250
139rcpt to:<userz@test.ex>
140??? 250
141data
142??? 354
143Sender: sender@some.where
144.
145??? 353
146??? 550
147??? 550
148??? 550
149quit
150??? 221
151****
858e91c2
JH
152millisleep 500
153#
154# 6: no PRDR request
155client 127.0.0.1 PORT_D
156??? 220
157ehlo rhu.barb
158??? 250-
159??? 250-
160??? 250-
161??? 250-
162??? 250-PRDR
163??? 250
164mail from:<>
165??? 250
166rcpt to:<userx@test.ex>
167??? 250
168data
169??? 354
170Sender: sender@some.where
171.
172??? 250
173quit
174??? 221
175****
176millisleep 500
fd98a5c6
JH
177#
178killdaemon
179#