Skip to content

Conversation

@rockworm
Copy link

@rockworm rockworm commented Jan 3, 2026

Fix IMAP INTERNALDATE regex for variable whitespace

The current regex expects exactly one space after INTERNALDATE, but
RFC 3501 allows variable whitespace. Newer Cyrus IMAP versions (3.8.6+)
use multiple spaces for single-digit dates, breaking the regex match.

Fixes Z-Push sync failures for some IMAP servers, Cyrus being one.

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.

1 participant