tidying: coverity issues
[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****
b8a7fa2d 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****
b8a7fa2d
JH
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# lose the cached callout fail record
55sudo rm DIR/spool/db/callout
56#
57# cutthrough for 2 recipients in one domain
58# first one denied
59# so we get a 3rd conn with the traditional delivery
60# (for just the second because it was a real verify=recipient)
61server PORT_S 3
62220 ESMTP
63EHLO
64250 OK
65MAIL FROM:
66250 Sender OK
67RCPT TO:
68550 Not that one
69QUIT
70250 OK
71*eof
72220 ESMTP
73EHLO
74250 OK
75MAIL FROM:
76250 Sender OK
77RCPT TO:
78250 ok rcpt-1
79QUIT
80250 OK
81*eof
82220 ESMTP
83EHLO
84250 OK
85MAIL FROM:
86250 Sender OK
87RCPT TO:
88250 ok rcpt-1
89DATA
90354 Send data
91.
92250 OK
93QUIT
94250 OK
95*eof
96****
97#
98# Foregound delivery needed else the following subtest reception logging happens before this ones
99# delivery process logs and terminates; the interlock is only on the parent exim terminating.
100exim -bs -odf
101EHLO myhost.test.ex
102MAIL FROM:<CALLER@myhost.test.ex>
103RCPT TO:<no@domain.com>
104RCPT TO:<userx@domain.com>
105DATA
106
107.
108QUIT
109****
110#
111#
112#