Fix growable-string sprintf
[exim.git] / test / scripts / 0000-Basic / 0215
CommitLineData
75def545 1# LMTP over TCP/IP
59371ea7
PH
2need_ipv4
3#
4server PORT_S
5220 ESMTP
6LHLO
7250-OK
8250 HELP
9MAIL FROM:
10250 Sender OK
11RCPT TO:
12250 Receiver OK
13DATA
14354 Send it
15.
16250 OK
17QUIT
18250 OK
19****
20exim -odi userx
21This is a test message.
22****
23server PORT_S
24220 ESMTP
25LHLO
26250-OK
27250 HELP
28MAIL FROM:
29250 Sender OK
30RCPT TO:
31250 Receiver OK
32RCPT TO:
33250 Receiver OK
34RCPT TO:
35250 Receiver OK
36RCPT TO:
37250 Receiver OK
38RCPT TO:
39250 Receiver OK
40RCPT TO:
41250 Receiver OK
42DATA
43354 Send it
44.
45250 OK
46440 Temporary error
47550 Bad user
48250 OK
49440 Temporary error
50550 Bad user
51QUIT
52250 OK
53****
54exim -odi userx userxx userxy userxz useryx useryy
55This is a test message.
56****
57exim -Mrm $msg1
58****
59# This is a repeat of the previous test, but with pauses between the
60# final responses, so they go out in separate packets, and some multilines.
61server PORT_S
62220 ESMTP
63LHLO
64250-OK
65250 HELP
66MAIL FROM:
67250 Sender OK
68RCPT TO:
69250 Receiver OK
70RCPT TO:
71250 Receiver OK
72RCPT TO:
73250 Receiver OK
74RCPT TO:
75250 Receiver OK
76RCPT TO:
77250 Receiver OK
78RCPT TO:
79250 Receiver OK
80DATA
81354 Send it
82.
83250 OK
84440 Temporary error
85550-I don't like this user
86*sleep 1
87550 Bad user
88250-This one's OK
89250 OK
90440-Here's a whole long message, in several lines,
91*sleep 1
92440-just for testing that nothing breaks when
93440-we do this
94440 Temporary error
95550 Bad user
96QUIT
97250 OK
98****
99exim -odi userx userxx userxy userxz useryx useryy
100This is a test message.
101****
102exim -Mrm $msg1
103****
104# This is another repeat of the previous test, but this time some addresses
105# get bounced at RCPT time.
106server PORT_S
107220 ESMTP
108LHLO
109250-OK
110250 HELP
111MAIL FROM:
112250 Sender OK
113RCPT TO:
114550 Receiver BAD
115RCPT TO:
116250 Receiver OK
117RCPT TO:
118450 Receiver temporarily bad
119RCPT TO:
120250 Receiver OK
121RCPT TO:
122250 Receiver OK
123RCPT TO:
124550 Receiver BAD
125DATA
126354 Send it
127.
128440 Temporary error
129550-I don't like this user
130550 Bad user
131250-This one's OK
132250 OK
133QUIT
134250 OK
135****
136exim -odi userx userxx userxy userxz useryx useryy
137This is a test message.
138****
139# This is to test the ignore_quota feature; first time we don't support it.
140server PORT_S
141220 ESMTP
142LHLO
143250-OK
144250 HELP
145MAIL FROM:
146250 Sender OK
147RCPT TO:
148250 Receiver OK
149RCPT TO:
150250 Receiver OK
151RCPT TO:
152250 Receiver OK
153DATA
154354 Send it
155.
156250 OK
157250 OK
158250 OK
159QUIT
160250 OK
161****
162exim -odi -DIGNORE_QUOTA=true userxx userxy userxz
163This is a test message.
164****
165# This is to test the ignore_quota feature; second time we do support it
166server PORT_S
167220 ESMTP
168LHLO
169250-OK
170250-IGNOREQUOTA
171250 HELP
172MAIL FROM:
173250 Sender OK
174RCPT TO:
175250 Receiver OK
176RCPT TO:
177250 Receiver OK
178RCPT TO:
179250 Receiver OK
180DATA
181354 Send it
182.
183250 OK
184250 OK
185250 OK
186QUIT
187250 OK
188****
189exim -odi -DIGNORE_QUOTA=true userxx userxy userxz
190This is a test message.
191****
382afc6b
PH
192# Tests for authenticated_sender forcing: this one doesn't do it
193server PORT_S
194220 ESMTP
195LHLO
196250 OK
197MAIL FROM:
198250 Sender OK
199RCPT TO:
200450 LATER
201QUIT
202250 OK
203****
204exim -odi -DAUTHS=authenticated_sender=xxx@yyy userx
205Another test message.
206****
207# Tests for authenticated_sender forcing: this one does it
208server PORT_S
209220 ESMTP
210LHLO
211250 OK
212MAIL FROM:
213250 Sender OK
214RCPT TO:
215450 LATER
216QUIT
217250 OK
218****
219exim -odi -DAUTHS=authenticated_sender=xxx@yyy -DAUTHF=authenticated_sender_force userx
220Another test message.
221****
59371ea7 222no_msglog_check