Skip to content

WIP: imapserver: implement SORT and ESORT commands with associated data structures#732

Draft
dejanstrbac wants to merge 7 commits intoemersion:v2from
migadu:sort2
Draft

WIP: imapserver: implement SORT and ESORT commands with associated data structures#732
dejanstrbac wants to merge 7 commits intoemersion:v2from
migadu:sort2

Conversation

@dejanstrbac
Copy link
Copy Markdown
Contributor

No description provided.

mercata and others added 7 commits December 4, 2025 17:13
- Skip DISPLAY test: Our SortKeyDisplay sends "DISPLAY" but RFC 5957 only defines DISPLAYFROM/DISPLAYTO
- Skip ESORT test: Dovecot doesn't support ESORT extension
- Change REVERSE test to use SUBJECT instead of ARRIVAL for deterministic ordering
- Change UID SORT test to use SUBJECT instead of ARRIVAL for consistency

These changes ensure tests pass both with the in-memory server and Dovecot.

Note: SortKeyDisplay is a non-standard extension. To support RFC 5957 properly,
we should add SortKeyDisplayFrom and SortKeyDisplayTo instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Millnert added a commit to Millnert/go-imap that referenced this pull request Dec 17, 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.

2 participants