Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-601

IMAPClient.select cannot select mailbox in some cases with æøå, spaces and sub-folders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 3.5
    • None
    • IMAP
    • None
    • eclipse on ubuntu workstation and ibm domino server on ubuntu server. Connecting to IMAP on an IBM Domino server.

    Description

      Partial response from LIST:

      AAAB LIST  "" "*"
      * LIST (\HasNoChildren) "\\" "Backup log"
      * LIST (\Noinferiors \HasNoChildren) "\\" Inbox
      * LIST (\HasNoChildren) "\\" M&APg-ter
      * LIST (\HasChildren) "\\" Presis
      * LIST (\HasNoChildren) "\\" {24}
      Presis\Bod&APg- Industri
      * LIST (\HasNoChildren) "\\" {11}
      Presis\Done
      * LIST (\HasNoChildren) "\\" {15}
      Presis\id filer
      

      Trying to select Presis\Bodø Industri fails like this
      AAAB SELECT "Presis\Bod&APg- Industri"
      AAAB NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space

      And trying to select Presis\id filer fails like this
      AAAB SELECT "Presis\id filer"
      AAAB NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space

      So far it seems like select fails when folder has more than one:

      • none US-ASCII
      • space
      • sub-folder separator

      Attachments

        1. import_startssl_to_javahome.windows.zip
          2 kB
          Johnny Haugen Sørgård
        2. testCommonsNetIMAPselect.java
          3 kB
          Johnny Haugen Sørgård

        Activity

          People

            Unassigned Unassigned
            yggdrasild Johnny Haugen Sørgård
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: