Return to test935 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 CRAM-MD5 ! 7: SASL AUTH PLAIN ! 8: SASL DOWNGRADE ! 9: RFC2195 ! 10: RFC4954 ! 11: </keywords> ! 12: </info> ! 13: ! 14: # ! 15: # Server-side ! 16: <reply> ! 17: <servercmd> ! 18: AUTH CRAM-MD5 PLAIN ! 19: REPLY "AUTH CRAM-MD5" 334 Rubbish ! 20: REPLY * 501 AUTH exchange cancelled by client ! 21: REPLY "AUTH PLAIN" 334 PLAIN supported ! 22: REPLY AHVzZXIAc2VjcmV0 235 Authenticated ! 23: </servercmd> ! 24: </reply> ! 25: ! 26: # ! 27: # Client-side ! 28: <client> ! 29: <server> ! 30: smtp ! 31: </server> ! 32: <features> ! 33: crypto ! 34: </features> ! 35: <name> ! 36: SMTP CRAM-MD5 authentication with SASL downgrade ! 37: </name> ! 38: <stdin> ! 39: mail body ! 40: </stdin> ! 41: <command> ! 42: smtp://%HOSTIP:%SMTPPORT/935 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - ! 43: </command> ! 44: </client> ! 45: ! 46: # ! 47: # Verify data after the test has been "shot" ! 48: <verify> ! 49: <protocol> ! 50: EHLO 935 ! 51: AUTH CRAM-MD5 ! 52: * ! 53: AUTH PLAIN ! 54: AHVzZXIAc2VjcmV0 ! 55: MAIL FROM:<sender@example.com> ! 56: RCPT TO:<recipient@example.com> ! 57: DATA ! 58: QUIT ! 59: </protocol> ! 60: <upload> ! 61: mail body ! 62: . ! 63: </upload> ! 64: </verify> ! 65: </testcase>