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