Menu

#721 imap 'LIST (SPECIAL-USE) "" "*"' returns no folder names.

v5.1.0
closed-fixed
nobody
None
5
2019-11-11
2019-10-24
Peter Chubb
No

When connected (using openssl s_client) to davmail authenticated to an Office365 account, the list (special-use) "" "*" command incorrectly returns NO Folder not found

On the other hand,
`
t2 LIST "" "%" RETURN (SPECIAL-USE)

  • LIST (\HasNoChildren) "/" "Archive"
  • LIST (\HasChildren) "/" "Conversation History"
  • LIST (\Trash \HasNoChildren) "/" "Trash"
  • LIST (\HasNoChildren) "/" "Deleted Messages"
  • LIST (\Drafts \HasNoChildren) "/" "Drafts"
  • LIST (\HasChildren) "/" "INBOX"
  • LIST (\Junk \HasNoChildren) "/" "Junk"
  • LIST (\HasChildren) "/" "Unsent Messages"
  • LIST (\Sent \HasNoChildren) "/" "Sent"
  • LIST (\Sent \HasNoChildren) "/" "Sent"
  • LIST (\HasNoChildren) "/" "Sent Messages"
  • LIST (\HasNoChildren) "/" "Spam"
  • LIST (\HasChildren) "/" "Unsent Messages"
  • LIST (\HasNoChildren) "/" "Working Set"
    t2 OK LIST completed
    `
    (note some folders are repeated here).

I expect output like this:
`
foo list (SPECIAL-USE) "" "*"

  • LIST (\HasNoChildren \UnMarked \Sent) "/" "Sent Messages"
  • LIST (\HasNoChildren \UnMarked \Sent) "/" Sent
  • LIST (\HasNoChildren \Junk) "/" Junk
  • LIST (\HasChildren \Drafts) "/" "Unsent Messages"
  • LIST (\HasNoChildren \Marked \Trash) "/" Trash
    foo OK List completed (3.033 + 0.000 + 3.032 secs).

`

Discussion

  • Peter Chubb

    Peter Chubb - 2019-10-24

    I've just tried with the tip of the SVN tree -- the problem is still there.

     
  • Peter Chubb

    Peter Chubb - 2019-10-25

    I worked around the issue by removing the advertisement of the 'SPECIAL-USE' capability; various people's mail clients all started working as a result.

     
  • Mickael Guessant

    Thanks for your feedback. Tried to fix this in trunk: DavMail will now only return special folders on a RETURN (SPECIAL-USE) list command

     
  • Mickael Guessant

    • status: open --> closed-fixed
     
  • Mickael Guessant

    Fixed in v5.4.0

     

Log in to post a comment.