Skip to content

imapserver: add ID capability #693

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

Open
wants to merge 9 commits into
base: v2
Choose a base branch
from
Open

Conversation

dejanstrbac
Copy link
Contributor

These simple capabilities are not depending on go-imap and can be made available?

@dejanstrbac dejanstrbac changed the title add independent capabilities imapserver: add CHILDREN and ID capability Jun 7, 2025
@@ -75,6 +75,8 @@ func (c *Conn) availableCaps() []imap.Cap {
imap.CapMove,
imap.CapStatusSize,
imap.CapBinary,
imap.CapChildren,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could CHILDREN be submitted independently in a separate PR? That way, it can be merged right away.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved children to own PR

@emersion
Copy link
Owner

emersion commented Jun 9, 2025

What is the motivation for adding ID?

I find this extension to be harmful in general, because it's privacy-intrusive and enables both sides to write workarounds instead of proper fixes for bugs and non-standard behavior.

@dejanstrbac
Copy link
Contributor Author

What is the motivation for adding ID?

I find this extension to be harmful in general, because it's privacy-intrusive and enables both sides to write workarounds instead of proper fixes for bugs and non-standard behavior.

It's for debugging and client support only. Often they have multiple clients connecting so knowing which client they use for which connection helps trace their possible issues. It's also helpful to know which IP / which client so they can have a simple security audit. I don't think the worry for privacy belongs here - the trust is assumed on IMAP service between client and server by definition.

@dejanstrbac dejanstrbac changed the title imapserver: add CHILDREN and ID capability imapserver: add ID capability Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants