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