Merge from master into 4.next
[exim.git] / test / scripts / 5400-cutthrough / 5401
CommitLineData
528fde2a
JH
1# cutthrough_delivery triggered by recipient-verify
2need_ipv4
3#
4server PORT_S
5220 ESMTP
613dd4ae 6EHLO
528fde2a
JH
7250 OK
8MAIL FROM:
9250 Sender OK
10RCPT TO:
11250 Recipient OK
12DATA
13354 Send data
14.
15250 OK
16QUIT
17250 OK
18****
4fab92fb 19exim -bs -odf
528fde2a 20EHLO myhost.test.ex
9d6bb16d 21MAIL FROM:<CALLER@myhost.test.ex>
528fde2a
JH
22RCPT TO:<userx@domain.com>
23DATA
24
25.
26QUIT
27****
4fab92fb
HSHR
28#
29#
30#
31# cutthrough for denied recipient
32# deny should be reflected to originator
33# as this was a real rcpt-verify
34server PORT_S
35220 ESMTP
36EHLO
37250 OK
38MAIL FROM:
39250 Sender OK
40RCPT TO:
41550 No mate
42QUIT
43250 OK
44*eof
45****
46exim -bs -odf
47EHLO myhost.test.ex
48MAIL FROM:<CALLER@myhost.test.ex>
49RCPT TO:<no@domain.com>
50QUIT
51****
52#
53#
54#
55# cutthrough for 2 recipients in one domain
56# first one denied
57# so we get a 3rd conn with the traditional delivery
58# (for just the second because it was a real verify=recipient)
59server PORT_S 3
60220 ESMTP
61EHLO
62250 OK
63MAIL FROM:
64250 Sender OK
65RCPT TO:
66550 Not that one
67QUIT
68250 OK
69*eof
70220 ESMTP
71EHLO
72250 OK
73MAIL FROM:
74250 Sender OK
75RCPT TO:
76250 ok rcpt-1
77QUIT
78250 OK
79*eof
80220 ESMTP
81EHLO
82250 OK
83MAIL FROM:
84250 Sender OK
85RCPT TO:
86250 ok rcpt-1
87DATA
88354 Send data
89.
90250 OK
91QUIT
92250 OK
93*eof
94****
95#
96# Foregound delivery needed else the following subtest reception logging happens before this ones
97# delivery process logs and terminates; the interlock is only on the parent exim terminating.
98exim -bs -odf
99EHLO myhost.test.ex
100MAIL FROM:<CALLER@myhost.test.ex>
101RCPT TO:<no@domain.com>
102RCPT TO:<userx@domain.com>
103DATA
104
105.
106QUIT
107****
108#
109#
110#