Skip to content

🔒 Enforce LOGINDISABLED requirement#307

Merged
nevans merged 1 commit intomasterfrom
enforce_logindisabled
Jun 28, 2024
Merged

🔒 Enforce LOGINDISABLED requirement#307
nevans merged 1 commit intomasterfrom
enforce_logindisabled

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Jun 27, 2024

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.

@nevans nevans force-pushed the enforce_logindisabled branch 2 times, most recently from ad3e0fa to 9bf5338 Compare June 27, 2024 02:59
@nevans nevans added this to the v0.5 milestone Jun 27, 2024
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.  For those
servers, we offer the `enforce_logindisabled` config option.

Fixes #32.
@nevans nevans force-pushed the enforce_logindisabled branch from 9bf5338 to 8316d44 Compare June 27, 2024 03:49
@nevans nevans merged commit 8e9a213 into master Jun 28, 2024
@nevans nevans deleted the enforce_logindisabled branch June 28, 2024 22:20
@nevans nevans added enhancement New feature or request IMAP4rev1 Requirement for IMAP4rev1, RFC3501 labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request IMAP4rev1 Requirement for IMAP4rev1, RFC3501

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LOGINDISABLED capability: MUST not allow LOGIN

1 participant