Return to test907 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: SMTP ! 5: SASL ! 6: SASL AUTH DIGEST-MD5 ! 7: RFC2831 ! 8: RFC4954 ! 9: </keywords> ! 10: </info> ! 11: ! 12: # ! 13: # Server-side ! 14: <reply> ! 15: <servercmd> ! 16: AUTH DIGEST-MD5 ! 17: REPLY AUTH 334 cmVhbG09ImN1cmwiLG5vbmNlPSI1MzAwZDE3YTFkNjk1YmQ0MTFlNGNkZjk2Zjk1NDhjMjNjZWQ2MTc1IixhbGdvcml0aG09bWQ1LXNlc3MscW9wPSJhdXRoIg== ! 18: REPLY dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJzbXRwL2N1cmwiLHJlc3BvbnNlPTk0M2YxNjk1OWYxY2M2ZjA3ZTZmMDk0ZjVkYmQ0NzNlLHFvcD1hdXRo 334 ! 19: REPLY 235 Authenticated ! 20: </servercmd> ! 21: </reply> ! 22: ! 23: # ! 24: # Client-side ! 25: <client> ! 26: <server> ! 27: smtp ! 28: </server> ! 29: <features> ! 30: !SSPI ! 31: debug ! 32: crypto ! 33: </features> ! 34: <name> ! 35: SMTP DIGEST-MD5 authentication ! 36: </name> ! 37: <stdin> ! 38: mail body ! 39: </stdin> ! 40: <command> ! 41: smtp://%HOSTIP:%SMTPPORT/907 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - ! 42: </command> ! 43: </client> ! 44: ! 45: # ! 46: # Verify data after the test has been "shot" ! 47: <verify> ! 48: <protocol> ! 49: EHLO 907 ! 50: AUTH DIGEST-MD5 ! 51: dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJzbXRwL2N1cmwiLHJlc3BvbnNlPTk0M2YxNjk1OWYxY2M2ZjA3ZTZmMDk0ZjVkYmQ0NzNlLHFvcD1hdXRo ! 52: ! 53: MAIL FROM:<sender@example.com> ! 54: RCPT TO:<recipient@example.com> ! 55: DATA ! 56: QUIT ! 57: </protocol> ! 58: <upload> ! 59: mail body ! 60: . ! 61: </upload> ! 62: </verify> ! 63: </testcase>