SMTP
SMTP AUTH CRAM-MD5
SASL
RFC2195
RFC4954
#
# Server-side
AUTH CRAM-MD5
REPLY AUTH 334 PDE5NzIuOTg3NjU0MzIxQGN1cmw+
REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 235 Authenticated
#
# Client-side
smtp
crypto
SMTP CRAM-MD5 authentication
mail body
smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
#
# Verify data after the test has been "shot"
EHLO 905
AUTH CRAM-MD5
dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
MAIL FROM:
RCPT TO:
DATA
QUIT
mail body
.