Debian Codegraph @

deps/curl/tests/data/test905

raw
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 SASL
6 SASL AUTH CRAM-MD5
7 RFC2195
8 RFC4954
9 </keywords>
10 </info>
11
12 #
13 # Server-side
14 <reply>
15 <servercmd>
16 AUTH CRAM-MD5
17 REPLY AUTH 334 PDE5NzIuOTg3NjU0MzIxQGN1cmw+
18 REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 235 Authenticated
19 </servercmd>
20 </reply>
21
22 #
23 # Client-side
24 <client>
25 <server>
26 smtp
27 </server>
28 <features>
29 crypto
30 </features>
31 <name>
32 SMTP CRAM-MD5 authentication
33 </name>
34 <stdin>
35 mail body
36 </stdin>
37 <command>
38 smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt [email protected] --mail-from [email protected] -u user:secret -T -
39 </command>
40 </client>
41
42 #
43 # Verify data after the test has been "shot"
44 <verify>
45 <protocol>
46 EHLO 905
47 AUTH CRAM-MD5
48 dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
49 MAIL FROM:<[email protected]>
50 RCPT TO:<[email protected]>
51 DATA
52 QUIT
53 </protocol>
54 <upload>
55 mail body
56 .
57 </upload>
58 </verify>
59 </testcase>