Cutthrough: avoid use of callout result cache
[exim.git] / test / scripts / 5400-cutthrough / 5401
1 # cutthrough_delivery triggered by recipient-verify
2 need_ipv4
3 #
4 server PORT_S
5 220 ESMTP
6 EHLO
7 250 OK
8 MAIL FROM:
9 250 Sender OK
10 RCPT TO:
11 250 Recipient OK
12 DATA
13 354 Send data
14 .
15 250 OK
16 QUIT
17 250 OK
18 ****
19 exim -bs -odf
20 EHLO myhost.test.ex
21 MAIL FROM:<CALLER@myhost.test.ex>
22 RCPT TO:<userx@domain.com>
23 DATA
24
25 .
26 QUIT
27 ****
28 #
29 #
30 #
31 # cutthrough for denied recipient
32 # deny should be reflected to originator
33 # as this was a real rcpt-verify
34 server PORT_S
35 220 ESMTP
36 EHLO
37 250 OK
38 MAIL FROM:
39 250 Sender OK
40 RCPT TO:
41 550 No mate
42 QUIT
43 250 OK
44 *eof
45 ****
46 exim -bs -odf
47 EHLO myhost.test.ex
48 MAIL FROM:<CALLER@myhost.test.ex>
49 RCPT TO:<no@domain.com>
50 QUIT
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)
59 server PORT_S 3
60 220 ESMTP
61 EHLO
62 250 OK
63 MAIL FROM:
64 250 Sender OK
65 RCPT TO:
66 550 Not that one
67 QUIT
68 250 OK
69 *eof
70 220 ESMTP
71 EHLO
72 250 OK
73 MAIL FROM:
74 250 Sender OK
75 RCPT TO:
76 250 ok rcpt-1
77 QUIT
78 250 OK
79 *eof
80 220 ESMTP
81 EHLO
82 250 OK
83 MAIL FROM:
84 250 Sender OK
85 RCPT TO:
86 250 ok rcpt-1
87 DATA
88 354 Send data
89 .
90 250 OK
91 QUIT
92 250 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.
98 exim -bs -odf
99 EHLO myhost.test.ex
100 MAIL FROM:<CALLER@myhost.test.ex>
101 RCPT TO:<no@domain.com>
102 RCPT TO:<userx@domain.com>
103 DATA
104
105 .
106 QUIT
107 ****
108 #
109 #
110 #