123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <testcase>
- <info>
- <keywords>
- SMTP
- SASL
- SASL AUTH DIGEST-MD5
- RFC2831
- RFC4954
- </keywords>
- </info>
- #
- # Server-side
- <reply>
- <servercmd>
- AUTH DIGEST-MD5
- REPLY AUTH 334 cmVhbG09ImN1cmwiLG5vbmNlPSI1MzAwZDE3YTFkNjk1YmQ0MTFlNGNkZjk2Zjk1NDhjMjNjZWQ2MTc1IixhbGdvcml0aG09bWQ1LXNlc3MscW9wPSJhdXRoIg==
- REPLY dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJzbXRwLzEyNy4wLjAuMSIscmVzcG9uc2U9YTI3YzQzOTVmMzM4Njc0M2JlMTIyMDdiN2QxMTIxYzUscW9wPWF1dGg= 334 cnNwYXV0aD05ZWE4NTljYjlkOTBjMzdjYTMwZDQ5ZDM1Mzc4NjMwYw==
- REPLY 235 Authenticated
- </servercmd>
- </reply>
- #
- # Client-side
- <client>
- <server>
- smtp
- </server>
- <features>
- !SSPI
- debug
- crypto
- </features>
- <name>
- SMTP DIGEST-MD5 authentication
- </name>
- <stdin>
- mail body
- </stdin>
- <command>
- smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
- </command>
- </client>
- #
- # Verify data after the test has been "shot"
- <verify>
- <protocol>
- EHLO %TESTNUMBER
- AUTH DIGEST-MD5
- dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJzbXRwLzEyNy4wLjAuMSIscmVzcG9uc2U9YTI3YzQzOTVmMzM4Njc0M2JlMTIyMDdiN2QxMTIxYzUscW9wPWF1dGg=
- MAIL FROM:<sender@example.com>
- RCPT TO:<recipient@example.com>
- DATA
- QUIT
- </protocol>
- <upload>
- mail body
- .
- </upload>
- </verify>
- </testcase>
|