Merge branch 'patch-1' of https://github.com/bes-internal/exim into master-bes-rateli...
[users/heiko/exim.git] / test / scripts / 5400-cutthrough / 5400
1 # cutthrough_delivery basic operation
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 -d-all+acl+transport -bs
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 # cutthrough_delivery into HELO-only server
29 need_ipv4
30 #
31 server PORT_S
32 220 SMTP only spoken here
33 EHLO
34 550 Not here, mate
35 HELO
36 250 OK
37 MAIL FROM:
38 250 Sender OK
39 RCPT TO:
40 250 Recipient OK
41 DATA
42 354 Send data
43 .
44 250 OK
45 QUIT
46 250 OK
47 ****
48 exim -d-all+acl+transport -bs
49 EHLO myhost.test.ex
50 MAIL FROM:<CALLER@myhost.test.ex>
51 RCPT TO:<userz@domain.com>
52 DATA
53
54 .
55 QUIT
56 ****
57 # cutthrough cancelled by multiple recipients
58 server PORT_S 2
59 220 ESMTP
60 EHLO
61 250 OK
62 MAIL FROM:
63 250 Sender OK
64 RCPT TO:
65 250 Recipient OK
66 QUIT
67 *eof
68 220 ESMTP
69 EHLO
70 250 OK
71 MAIL FROM:
72 250 Sender OK
73 RCPT TO:
74 250 Recipient OK
75 RCPT TO:
76 250 Recipient OK
77 DATA
78 354 Send data
79 .
80 250 OK
81 QUIT
82 250 OK
83 ****
84 exim -d-all+acl+transport -bs
85 EHLO myhost.test.ex
86 MAIL FROM:<CALLER@myhost.test.ex>
87 RCPT TO:<usery@domain.com>
88 RCPT TO:<userx@domain.com>
89 DATA
90
91 .
92 QUIT
93 ****
94 sleep 1