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/944' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
#
# Verify data after the test has been "shot"
EHLO 944
AUTH EXTERNAL dXNlcg==
MAIL FROM:
RCPT TO:
DATA
QUIT
mail body
.