File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test905
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>