SORT should return UIDs but returns none
Describe the bug
Apologies for a lack of detail - I know nothing about the IMAP protocol, but am going off comments here from the author of the webmail I am using - SnappyMail (based off Rainloop, so I expect core functionality to be similar; SnappyMail is mostly a stripped-down fork)
I pasted full logs in that thread, for what they believe is the specific issue; quoting:
> TAG3 SELECT "INBOX"\r\n < * FLAGS (\Seen \Answered \Flagged \Deleted \Draft)\r\n < * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft \*)] Flags permitted.\r\n < * OK [UNSEEN 1] Message 1 is first unseen\r\n < * 0 RECENT\r\n < * OK [UIDNEXT 4] Predicted next UID\r\n < * OK [UIDVALIDITY 680226926] UIDs valid\r\n < * 1 EXISTS\r\n < TAG3 OK [READ-WRITE] SELECT completed\r\n > TAG4 UID SORT (REVERSE DATE) UTF-8 UNDELETED\r\n < * SORT\r\n < TAG4 OK UID SORT completed\r\nSORT should return the UID's but returns none. So this is a bug in maddy.
Steps to reproduce
I log into my webmail ,and I can see the number of messages in my inbox. But when I go to view the message list, it's empty. SnappyMail works well with another IMAP mailserver, so it sounds like this may be a bug in Maddy's implementation of the protocol.
Log files
Not sure if server-side logs will be this detailed; if there's something I can do to get hold of these, happy to do so.
Configuration file
Will provide if relevant; sounds like it may not be needed as this relates to the protocol implementation
Environment information
- maddy version: 0.7.1 (image hash: 5560c8a5b9e3)
Related: https://github.com/foxcpp/maddy/issues/549