ruby / net-imap

Ruby client api for Internet Message Access Protocol
https://ruby.github.io/net-imap
Other
56 stars 29 forks source link

🔒 Enforce `LOGINDISABLED` requirement #307

Closed nevans closed 3 months ago

nevans commented 3 months ago

This may be considered a "breaking change", but it should have no negative effect on well behaved servers. This should merely change a NoResponseError into a LoginDisabledError.

However, some broken servers have been known to hang indefinitely when issued a CAPABILITY command prior to authentication. To workaround the limitations of those servers, we offer the enforce_logindisabled config option.

Fixes #32.