1<testcase> 2<info> 3<keywords> 4SMTP 5SASL 6SASL AUTH NTLM 7SASL-IR 8RFC4954 9NTLM 10</keywords> 11</info> 12 13# 14# Server-side 15<reply> 16<servercmd> 17AUTH NTLM 18REPLY AUTH 334 TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== 19REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= 235 Authenticated 20</servercmd> 21</reply> 22 23# 24# Client-side 25<client> 26<server> 27smtp 28</server> 29<features> 30NTLM 31SSL 32!SSPI 33</features> 34<name> 35SMTP NTLM authentication with initial response 36</name> 37<stdin> 38mail body 39</stdin> 40<command> 41smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T - 42</command> 43</client> 44 45# 46# Verify data after the test has been "shot" 47<verify> 48<protocol> 49EHLO %TESTNUMBER 50AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 51TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= 52MAIL FROM:<sender@example.com> 53RCPT TO:<recipient@example.com> 54DATA 55QUIT 56</protocol> 57<upload> 58mail body 59. 60</upload> 61</verify> 62</testcase> 63