IMAP
SASL
SASL AUTH PLAIN
RFC4616
#
# Server-side
AUTH PLAIN
REPLY AUTHENTICATE +
REPLY dXJzZWwAa3VydAB4aXBqM3BsbXE= A002 NO Not authorized
#
# Client-side
imap
IMAP plain authentication with alternative authorization identity (Not authorized)
'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel
#
# Verify data after the test has been "shot"
# 67 - CURLE_LOGIN_DENIED
67
#
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "LOGOUT"
A001 CAPABILITY
A002 AUTHENTICATE PLAIN
dXJzZWwAa3VydAB4aXBqM3BsbXE=