Make smtp_receive_timeout main option expanded. Bug 564
[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 server PORT_S
30 220 SMTP only spoken here
31 EHLO
32 550 Not here, mate
33 HELO
34 250 OK
35 MAIL FROM:
36 250 Sender OK
37 RCPT TO:
38 250 Recipient OK
39 DATA
40 354 Send data
41 .
42 250 OK
43 QUIT
44 250 OK
45 ****
46 exim -d-all+acl+transport -bs
47 EHLO myhost.test.ex
48 MAIL FROM:<CALLER@myhost.test.ex>
49 RCPT TO:<userz@domain.com>
50 DATA
51
52 .
53 QUIT
54 ****
55 # cutthrough cancelled by multiple recipients
56 server PORT_S 2
57 220 ESMTP
58 EHLO
59 250 OK
60 MAIL FROM:
61 250 Sender OK
62 RCPT TO:
63 250 Recipient OK
64 QUIT
65 *eof
66 220 ESMTP
67 EHLO
68 250 OK
69 MAIL FROM:
70 250 Sender OK
71 RCPT TO:
72 250 Recipient OK
73 RCPT TO:
74 250 Recipient OK
75 DATA
76 354 Send data
77 .
78 250 OK
79 QUIT
80 250 OK
81 ****
82 exim -d-all+acl+transport -bs
83 EHLO myhost.test.ex
84 MAIL FROM:<CALLER@myhost.test.ex>
85 RCPT TO:<usery@domain.com>
86 RCPT TO:<userx@domain.com>
87 DATA
88
89 .
90 QUIT
91 ****
92 sleep 1
93 #
94 #
95 #
96 #
97 #
98 # cutthrough_delivery basic operation, again
99 server PORT_S
100 220 ESMTP
101 EHLO
102 250 OK
103 MAIL FROM:
104 250 Sender OK
105 RCPT TO:
106 250 Recipient OK
107 DATA
108 354 Send data
109 .
110 250 OK
111 QUIT
112 250 OK
113 ****
114 exim -d-all+acl+transport -bs
115 EHLO myhost.test.ex
116 MAIL FROM:<CALLER@myhost.test.ex>
117 RCPT TO:<userx@domain.com>
118 DATA
119 X-hdr-rtr: qqq
120 X-hdr-tpt: zzz
121
122 body
123 .
124 QUIT
125 ****