Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone CAPABILITY response #18

Open
emersion opened this issue Jan 30, 2024 · 0 comments
Open

Standalone CAPABILITY response #18

emersion opened this issue Jan 30, 2024 · 0 comments
Labels
AFFECTED=imap.gmail.com PROTO=IMAP Related to IMAP protocol STATE=REPRODUCED Issue could be reproduced (explained in issue)

Comments

@emersion
Copy link

emersion commented Jan 30, 2024

See emersion/go-imap#561

GMail does this:

T2 LOGIN "[email protected]" "password"
* CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST UIDPLUS ENABLE ID IDLE MOVE
T2 OK LOGIN Completed.

Instead of this:

T2 LOGIN "[email protected]" "password"
T2 OK [CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST UIDPLUS ENABLE ID IDLE MOVE] LOGIN Completed.

This behavior is problematic because the RFC says that once a LOGIN command has completed, the cached capabilities must be cleared by the client.

Offending implementation: imap.gmail.com

@duesee duesee added PROTO=IMAP Related to IMAP protocol STATE=REPRODUCED Issue could be reproduced (explained in issue) labels May 11, 2024
@duesee duesee changed the title imap: standalone CAPABILITY response Standalone CAPABILITY response May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AFFECTED=imap.gmail.com PROTO=IMAP Related to IMAP protocol STATE=REPRODUCED Issue could be reproduced (explained in issue)
Projects
None yet
Development

No branches or pull requests

2 participants