the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
1.02k stars 122 forks source link

Folders with space displays as empty on IMAP accounts #745

Closed wojtek1171 closed 1 year ago

wojtek1171 commented 1 year ago

Actual behavior: Folders with space in their name in IMAP accounts are displayed as empty despite they have emails inside. Other folders display emails correctly. Folders in accounts working on localhost display emails in correct way.

Expected behavior: Folders with space displays email correctly.

obraz

Snappymail instance installed with yunohost

[2022-12-04 14:24:41.404][587f0fad] JSON[INFO]: Action: DoMessageList [2022-12-04 14:24:41.454][587f0fad] IMAP[INFO]: Start connection to "ssl://imap.domain.com:993"

[2022-12-04 14:24:41.678][587f0fad] IMAP[INFO]: < * OK IMAP4 ready\r\n

[2022-12-04 14:24:41.679][587f0fad] IMAP[INFO]: > TAG1 CAPABILITY\r\n [2022-12-04 14:24:41.723][587f0fad] IMAP[INFO]: < * CAPABILITY IMAP4rev1 UIDPLUS LITERAL+ CHILDREN NAMESPACE XLIST ID IDLE MOVE XAOL-MOVE AUTH=PLAIN\r\n [2022-12-04 14:24:41.723][587f0fad] IMAP[INFO]: < TAG1 OK completed\r\n

[2022-12-04 14:24:41.724][587f0fad] IMAP[INFO]: > TAG2 AUTHENTICATE PLAIN\r\n [2022-12-04 14:24:41.771][587f0fad] IMAP[INFO]: < + \r\n

[2022-12-04 14:24:41.772][587f0fad] IMAP[INFO]: > ***\r\n [2022-12-04 14:24:42.569][587f0fad] IMAP[INFO]: < TAG2 OK Login completed\r\n [2022-12-04 14:24:42.570][587f0fad] IMAP[INFO]: > TAG3 CAPABILITY\r\n [2022-12-04 14:24:42.762][587f0fad] IMAP[INFO]: < * CAPABILITY IMAP4rev1 UIDPLUS LITERAL+ CHILDREN NAMESPACE XLIST ID IDLE MOVE XAOL-MOVE\r\n [2022-12-04 14:24:42.849][587f0fad] IMAP[INFO]: < TAG3 OK CAPABILITY completed\r\n

[2022-12-04 14:24:42.851][587f0fad] IMAP[INFO]: > TAG4 STATUS "Ryan Holiday" (MESSAGES UNSEEN UIDNEXT UIDVALIDITY)\r\n [2022-12-04 14:24:42.997][587f0fad] IMAP[INFO]: < * STATUS Ryan Holiday (MESSAGES 7 UIDNEXT 8 UIDVALIDITY 1512955699 UNSEEN 0)\r\n [2022-12-04 14:24:42.998][587f0fad] IMAP[INFO]: < TAG4 OK STATUS completed\r\n

[2022-12-04 14:24:42.998][587f0fad] IMAP[INFO]: > TAG5 SELECT "Ryan Holiday"\r\n [2022-12-04 14:24:43.140][587f0fad] IMAP[INFO]: < 7 EXISTS\r\n [2022-12-04 14:24:43.228][587f0fad] IMAP[INFO]: < 0 RECENT\r\n [2022-12-04 14:24:43.228][587f0fad] IMAP[INFO]: < OK [UNSEEN 0] UIDs valid\r\n [2022-12-04 14:24:43.228][587f0fad] IMAP[INFO]: < OK [UIDVALIDITY 1512955699] UIDs valid\r\n [2022-12-04 14:24:43.228][587f0fad] IMAP[INFO]: < OK [UIDNEXT 8] Predicted next UID\r\n [2022-12-04 14:24:43.228][587f0fad] IMAP[INFO]: < FLAGS (\Answered \Flagged \Deleted \Seen \Draft)\r\n [2022-12-04 14:24:43.229][587f0fad] IMAP[INFO]: < OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)]\r\n [2022-12-04 14:24:43.229][587f0fad] IMAP[INFO]: < OK [NOMODSEQ] Sorry, this mailbox format doesn't support modsequences\r\n [2022-12-04 14:24:43.229][587f0fad] IMAP[INFO]: < TAG5 OK [READ-WRITE] SELECT completed\r\n

[2022-12-04 14:24:43.229][587f0fad] JSON[INFO]: {"Action":"MessageList","Result":{"@Object":"Collection\/MessageCollection","@Collection":[],"MessageResultCount":0,"Folder":"Ryan Holiday","FolderHash":"xxxxfolderHashxxxx","FolderInfo":{"id":null,"Name":"Ryan Holiday","Flags":["\Answered","\Flagged","\Deleted","\Seen","\Draft"],... [2022-12-04 14:24:43.230][587f0fad] IMAP[INFO]: > TAG6 LOGOUT\r\n [2022-12-04 14:24:43.264][587f0fad] IMAP[INFO]: < TAG6 BYE IMAP4rev1 Server logging out\r\n

the-djmaze commented 1 year ago

I think i have a workaround regarding your OK [NOMODSEQ] Sorry, this mailbox format doesn't support modsequences issue

wojtek1171 commented 1 year ago

I think i have a workaround regarding your OK [NOMODSEQ] Sorry, this mailbox format doesn't support modsequences issue

Thanks, I will let you know if it works after new release will be available on yuno

wojtek1171 commented 1 year ago

I think i have a workaround regarding your OK [NOMODSEQ] Sorry, this mailbox format doesn't support modsequences issue

It works now with 2.22.7 Thanks a lot :)