SMTP
SASL
SASL AUTH EXTERNAL
SASL-IR
RFC4422
RFC4954
#
# Server-side
AUTH EXTERNAL
REPLY AUTH 235 Authenticated
#
# Client-side
smtp
SMTP external authentication with initial response
mail body
'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/952' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
#
# Verify data after the test has been "shot"
EHLO 952
AUTH EXTERNAL dXNlcg==
MAIL FROM:
RCPT TO:
DATA
QUIT
mail body
.