IMAP
SASL
SASL AUTH EXTERNAL
SASL-IR
RFC4422
#
# Server-side
AUTH EXTERNAL
CAPA SASL-IR
REPLY AUTHENTICATE A002 OK AUTHENTICATE completed
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
imap
IMAP external authentication with initial response without credentials
'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/945/;UID=1'
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 AUTHENTICATE EXTERNAL =
A003 SELECT 945
A004 FETCH 1 BODY[]
A005 LOGOUT