delphi - How can I tell which SASL mechanism was used? -
in code, before tidimap4 connection created, set whole bunch of sasl mechanisms, in prescribed "best worst" order this:
imap.saslmechanisms.add.sasl := midsaslcramsha1; imap.saslmechanisms.add.sasl := midsaslcrammd5; imap.saslmechanisms.add.sasl := midsaslskey; imap.saslmechanisms.add.sasl := midsaslotp; imap.saslmechanisms.add.sasl := midsaslanonymous; imap.saslmechanisms.add.sasl := midsaslexternal; imap.saslmechanisms.add.sasl := midsasllogin; imap.saslmechanisms.add.sasl := midsaslplain; and i'm setting imap.authtype := iatsasl; think should connecting sasl. there way (say, after connection established) find out sasl mechanism used in creating connection?
sorry, there nothing in indy find out sasl(s) attempted and/or successful. indy compares contents of saslmechanisms against server's reported sasls, builds list of matches, , loops through list trying each sasl 1 @ time until 1 of them succeeds, list discarded. way know sasl(s) being attempted monitor raw socket traffic, such 1 of indy's intercept components, , manually parse imap commands being sent.
Comments
Post a Comment