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