Connecting to Exchange 2003

Mar 17, 2011 at 10:09 PM


i was trying to access a Exchange 2003 server through imap, but didn't succeed into it.
The connect has succeeded, but when I was trying to login things failed and I always came into ManualSaslAuthenticationRequired.
I also tried to use the property DisableSaslMechanics but also didn't helped me with the problem.


Mar 18, 2011 at 5:34 PM

Hi Kenny,

servers and clients use SASL mechanisms to authenticate each other.
If the ManualSaslAuthenticationRequired is being raised no mutual supported SASL authentication mechanism could be negotiated.
Microsoft Exchange servers ususally require NTLM or KERBEROS authentications when connecting using an insecure connection.

The library does not support these authentications for now.

However, if not changed explicitly by the server admin, Exchange does add PLAIN authentication to the supported capability list when using a secure connection (SSL), which is supported by the library.
Therefor I suggest you try connecting through SSL.

If this also fails you would be forced to implement a supported negotiation protocol by hand.


Mar 18, 2011 at 5:53 PM


thank you for the response I will try it out.