Testsuite: Fix fakens parser for A and AAAA RRs
[exim.git] / test / scripts / 5500-PRDR / 5510
CommitLineData
fd98a5c6
JH
1# PRDR client
2need_ipv4
3no_msglog_check
4#
5# 1: Two recipients, accepted by full PRDR response sequence
6server PORT_S
7220 Server ready
8EHLO
9250-
10250-PRDR
11250 OK
12MAIL FROM:<userx@test.ex> PRDR
13250 OK
14RCPT TO
15250 OK
16RCPT TO
17250 OK
18DATA
19300 gimme yer body
20.
21353 prdr responses coming up
22250 first rcpt was good
23250 second rcpt was good
24250 OK, overall
25QUIT
26250 OK
27****
28exim -odi -f userx usery userz
29Some message text.
30****
31#
32#
33# 2: Two recipients, accepted by traditional response
34# though client offered full PRDR capability
35server PORT_S
36220 Server ready
37EHLO
38250-
39250-PRDR
40250 OK
41MAIL FROM:<userx@test.ex> PRDR
42250 OK
43RCPT TO
44250 OK
45RCPT TO
46250 OK
47DATA
48300 gimme that body
49.
50250 OK got that
51QUIT
52250 OK, bye
53****
54exim -odi -f userx user2.1 user2.2
55Some message text.
56****
57#
58#
59# 3: Two recipients, one accepted one tmp-rejected
60server PORT_S
61220 Server ready
62EHLO
63250-
64250-PRDR
65250 OK
66MAIL FROM:<userx@test.ex> PRDR
67250 OK
68RCPT TO
69250 OK
70RCPT TO
71250 OK
72DATA
73300 gimme yer body
74.
75353 prdr responses coming up
76250 first rcpt was good
77450 cannot handle second rcpt right now
78250 OK, overall
79QUIT
80250 OK
81****
82exim -odi -f userx usery userz
83Some message text.
84****
85#
86#
87# 4: Two recipients, one accepted one rejected
88# Avoid tester issues dealing with the bounce by sending
89# with a null from.
90#
91server PORT_S
92220 Server ready
93EHLO
94250-
95250-PRDR
96250 OK
97MAIL FROM:<> PRDR
98250 OK
99RCPT TO
100250 OK
101RCPT TO
102250 OK
103DATA
104300 gimme yer body
105.
106353 prdr responses coming up
107250 first rcpt was good
108550 second rcpt does not like content
109250 OK, overall
110QUIT
111250 OK
112****
113exim -odi -f "" userp userq
114Some message text.
115****
116#
117#
118# 5: Two recipients, rejected by final after PRDR accepts.
119#
120server PORT_S
121220 Server ready
122EHLO
123250-
124250-PRDR
125250 OK
126MAIL FROM:<> PRDR
127250 OK
128RCPT TO
129250 OK
130RCPT TO
131250 OK
132DATA
133300 yeah baby
134.
135353 prdr responses coming up
136250 first rcpt was good
137250 second rcpt was good
138550 oops, overall rejection
139QUIT
140250 OK
141****
142exim -odi -f "" user5.1 user5.2
143text
144****
145#
146#
147# 6: Two recipients, rejected traditionally though PRDR negociated.
148#
149server PORT_S
150220 Server ready
151EHLO
152250-
153250-PRDR
154250 OK
155MAIL FROM:<> PRDR
156250 OK
157RCPT TO
158250 OK
159RCPT TO
160250 OK
161DATA
162300 yeah baby
163.
164550 naah mate
165QUIT
166250 OK
167****
168exim -odi -f "" user6.1 user6.2
169text
170****
171#
172#
173# 7: Temp-reject at final
174server PORT_S
175220 Server ready
176EHLO
177250-
178250-PRDR
179250 OK
180MAIL FROM:<> PRDR
181250 OK
182RCPT TO
183250 OK
184RCPT TO
185250 OK
186RCPT TO
187250 OK
188DATA
189300 go ahead
190.
191353 prdr responses coming up
192250 first rcpt does not like you
193250 second rcpt has a temporary problem
194250 third rcpt is ok
195450 oops, try again later please
196QUIT
197250 OK
198****
199exim -odi -f "" user7.1 user7.2 user7.3
200text
201****
202#
203#
204#
205# 8: Client should avoid requesting PRDR for a single-recipient mail
206# even though the server offers
207server PORT_S
208220 Server ready
209EHLO
210250-
211250-PRDR
212250 OK
213MAIL FROM:<>
214250 OK
215RCPT TO
216250 OK
217DATA
218300 go ahead
219.
220250 OK, got that
221QUIT
222250 OK, bye
223****
224exim -odi -f "" user8.1
225text
226****
227#
228#