2fc1f191d97a7d9eb5fdde12ab67a95fa7e4cb62
[platform/upstream/curl.git] / tests / data / test909
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 # the key in this response is that it doesn't include SIZE support
12 <servercmd>
13 REPLY EHLO 250 mooo
14 </servercmd>
15 </reply>
16
17 #
18 # Client-side
19 <client>
20 <server>
21 smtp
22 </server>
23  <name>
24 SMTP without SIZE support
25  </name>
26 <file name="log/test909.eml">
27 From: different\r
28 To: another\r
29 \r
30 body\r
31 </file>
32  <command>
33 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 909@foo --mail-rcpt 909@foobar.example --mail-from 909@from -T log/test909.eml
34 </command>
35 </client>
36
37 #
38 # Verify data after the test has been "shot"
39 <verify>
40 <protocol>
41 EHLO user\r
42 MAIL FROM:<909@from>\r
43 RCPT TO:<909@foo>\r
44 RCPT TO:<909@foobar.example>\r
45 DATA\r
46 QUIT\r
47 </protocol>
48 <upload>
49 From: different\r
50 To: another\r
51 \r
52 body\r
53 .\r
54 </upload>
55 </verify>
56 </testcase>