You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better approach would be to make uniqueid not binary, because then there's no need for conversions at runtime all the time.
But that would probably be a big change?
The text was updated successfully, but these errors were encountered:
I don't think that a MAILBOXID (uniqueid) should ever contain non-ASCII chars. @brong can you think of any way that this could happen, outside of corruption?
BTW, this was on a test server with cyrus-imapd-3.4.1 as shipped with RHEL9. Mail spool was from a 2.4 server, I ran reconstruct and reconstruct -V max and it seemed to be fine. The server then worked without issues in my tests.
Could it be that there was a bug in 3.4.1 which was fixed since then?
There's a bug in OBJECTID RFC 8474 implementation that returns invalid characters in the MAILBOXID.
See the-djmaze/snappymail#1640 (comment)
Issue is at
cyrus-imapd/imap/imapd.c
Line 9638 in 748cfaf
Probably caused by
cyrus-imapd/imap/mailbox.c
Lines 1130 to 1135 in 748cfaf
JMAP mailboxIds doesn't seem to be affected as they are encoded there.
So maybe use something like
or something like
Better approach would be to make
uniqueid
not binary, because then there's no need for conversions at runtime all the time.But that would probably be a big change?
The text was updated successfully, but these errors were encountered: