commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johnny Haugen Sørgård (JIRA) <j...@apache.org>
Subject [jira] [Commented] (NET-601) IMAPClient.select cannot select mailbox in some cases with æøå, spaces and sub-folders
Date Fri, 10 Feb 2017 09:01:41 GMT

    [ https://issues.apache.org/jira/browse/NET-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860945#comment-15860945
] 

Johnny Haugen Sørgård commented on NET-601:
-------------------------------------------

Tested the code this morning. Connected ok.

My guess is that this has to do with certificates installed in cacerts. This server uses startssl.
On Ubuntu I run:

sudo keytool -import -file /etc/ssl/certs/StartCom_Certification_Authority.pem -keystore $JAVA_HOME/jre/lib/security/cacerts

If you run on windows I have attached a batch-file and the certificate. It expects JAVA_HOME
to be defined.

> IMAPClient.select cannot select mailbox in some cases with æøå, spaces and sub-folders
> --------------------------------------------------------------------------------------
>
>                 Key: NET-601
>                 URL: https://issues.apache.org/jira/browse/NET-601
>             Project: Commons Net
>          Issue Type: Bug
>          Components: IMAP
>    Affects Versions: 3.5
>         Environment: eclipse on ubuntu workstation and ibm domino server on ubuntu server.
Connecting to IMAP on an IBM Domino server.
>            Reporter: Johnny Haugen Sørgård
>         Attachments: testCommonsNetIMAPselect.java
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message