Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Nov 6, 2020

This extension predates IMAP4rev1 (RFC3501), so most IMAP servers
support it. Many popular IMAP servers are configured with the default
personal namespaces as ("" "/"): no prefix and "/" hierarchy
delimiter. In that common case, the naive client may not have any
trouble naming mailboxes.

But many servers are configured e.g. with the default personal namespace
as ("INBOX." "."), placing all personal folders under INBOX with "."
as the hierarchy delimiter. If the client does not check for this, but
naively assumes it can use the same folder names for all servers, then
folder creation (and listing, moving, etc) can lead to errors.

n.b. I submitted this PR previously, before net-imap was gemified:

This extension predates IMAP4rev1 (RFC3501), so most IMAP servers
support it. Many popular IMAP servers are configured with the default
personal namespaces as `("" "/")`: no prefix and "/" hierarchy
delimiter. In that common case, the naive client may not have any
trouble naming mailboxes.

But many servers are configured e.g. with the default personal namespace
as `("INBOX." ".")`, placing all personal folders under INBOX with "."
as the hierarchy delimiter. If the client does not check for this, but
naively assumes it can use the same folder names for all servers, then
folder creation (and listing, moving, etc) can lead to errors.
@nevans nevans force-pushed the NAMESPACE-extension-RFC2342 branch from 45845b4 to 8151f1a Compare December 10, 2020 23:22
@shugo
Copy link
Member

shugo commented Mar 9, 2021

@nevans Thank you. I've merged it manually to resolve conflicts.

@shugo shugo closed this Mar 9, 2021
@nevans
Copy link
Collaborator Author

nevans commented Mar 10, 2021

Thanks for handling those conflicts, @shugo. I was trying to keep the PRs small and self-contained to hopefully be easier to review, but there was a lot of overlap.

@nevans nevans deleted the NAMESPACE-extension-RFC2342 branch April 22, 2021 21:14
@nevans nevans added the IMAP4rev2 Requirement for IMAP4rev2, RFC9051 label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IMAP4rev2 Requirement for IMAP4rev2, RFC9051

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants