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