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

imapserver: Expunge is called in handleUnselect for read-only mailbox #672

Open
foxcpp opened this issue Mar 3, 2025 · 1 comment
Open
Labels
Milestone

Comments

@foxcpp
Copy link
Collaborator

foxcpp commented Mar 3, 2025

imapserver should track read-only state of the selected mailbox and disallow calling STORE, EXPUNGE, APPEND on it. Additionally, EXPUNGE should not be called when unselecting a read-only mailbox - currently it is impossible to tell whether EXPUNGE is called via unselect or by client (incorrectly) to return a correct error.

@foxcpp foxcpp added the server label Mar 3, 2025
@foxcpp foxcpp added this to the v2 milestone Mar 3, 2025
@emersion
Copy link
Owner

emersion commented Mar 3, 2025

Indeed, good point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants