blob: 7931d0aaa50bf734fd60d0d6dfb1c686fa05a411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<testcase>
<info>
<keywords>
SMTP
SASL
SASL AUTH PLAIN
connection re-use
RFC4616
RFC4954
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
AUTH PLAIN
REPLY AUTH 334 PLAIN supported
REPLY dXNlci5vbmUAdXNlci5vbmUAc2VjcmV0 235 Authenticated
REPLY dXNlci50d28AdXNlci50d28Ac2VjcmV0 235 Authenticated
</servercmd>
</reply>
#
# Client-side
<client>
<server>
smtp
</server>
<name>
SMTP multiple connection authentication
</name>
<file name="log/upload938">
mail body
</file>
<command>
smtp://%HOSTIP:%SMTPPORT/938001 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.one:secret -T log/upload938 -: smtp://%HOSTIP:%SMTPPORT/938002 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.two:secret -T log/upload938
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
EHLO 938001
AUTH PLAIN
dXNlci5vbmUAdXNlci5vbmUAc2VjcmV0
MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com>
DATA
QUIT
EHLO 938002
AUTH PLAIN
dXNlci50d28AdXNlci50d28Ac2VjcmV0
MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com>
DATA
QUIT
</protocol>
<upload>
mail body
.
</upload>
</verify>
</testcase>
|