Git init
[external/curl.git] / tests / data / test803
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 </reply>
12
13 #
14 # Client-side
15 <client>
16 <server>
17 smtp
18 </server>
19  <name>
20 SMTP with CRLF-dot-CRLF in data
21  </name>
22 <stdin>
23 From: different
24 To: another
25
26 \r
27 .\r
28 .\r
29 \r
30 .\r
31
32 body
33 </stdin>
34  <command>
35 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T -
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <protocol>
43 EHLO user\r
44 MAIL FROM:803@from\r
45 RCPT TO:<803@foo>\r
46 DATA\r
47 QUIT\r
48 </protocol>
49 <upload>
50 From: different
51 To: another
52
53 \r
54 ..\r
55 ..\r
56 \r
57 ..\r
58
59 body
60 \r
61 .\r
62 </upload>
63 </verify>
64 </testcase>