Skip to content

fix(imap): prevent null HIGHESTMODSEQ after initial sync#12788

Merged
ChristophWurst merged 1 commit intomainfrom
fix/imap/highestmodseq-after-initial-sync
Apr 22, 2026
Merged

fix(imap): prevent null HIGHESTMODSEQ after initial sync#12788
ChristophWurst merged 1 commit intomainfrom
fix/imap/highestmodseq-after-initial-sync

Conversation

@ChristophWurst
Copy link
Copy Markdown
Member

@ChristophWurst ChristophWurst commented Apr 22, 2026

This brings back #6880 which was lost in #8968.

Having no HIGHESTMODSEQ after initial sync means that the server will report all emails as changed.

Note: accounts that were synced initially but ran into OOM at the first partial sync will stay in a OOM loop because the sync token with null was persisted before. This needs a separate fix.

Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
@ChristophWurst ChristophWurst force-pushed the fix/imap/highestmodseq-after-initial-sync branch from d3f4c2d to 7980d9e Compare April 22, 2026 12:42
@ChristophWurst
Copy link
Copy Markdown
Member Author

/backport ot stable5.7

@ChristophWurst ChristophWurst merged commit 765e584 into main Apr 22, 2026
42 checks passed
@ChristophWurst ChristophWurst deleted the fix/imap/highestmodseq-after-initial-sync branch April 22, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants