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