Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test912
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 SIZE
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <servercmd>
13 CAPA SIZE
14 </servercmd>
15 </reply>
16
17 #
18 # Client-side
19 <client>
20 <server>
21 smtp
22 </server>
23  <name>
24 SMTP with SIZE support
25  </name>
26 <file name="log/test912.eml">
27 From: different\r
28 To: another\r
29 \r
30 body\r
31 </file>
32  <command>
33 smtp://%HOSTIP:%SMTPPORT/912 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test912.eml
34 </command>
35 </client>
36
37 #
38 # Verify data after the test has been "shot"
39 <verify>
40 <protocol>
41 EHLO 912\r
42 MAIL FROM:<sender@example.com> SIZE=38\r
43 RCPT TO:<recipient@example.com>\r
44 DATA\r
45 QUIT\r
46 </protocol>
47 <upload>
48 From: different\r
49 To: another\r
50 \r
51 body\r
52 .\r
53 </upload>
54 </verify>
55 </testcase>