Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AA4DA200C1A for ; Mon, 13 Feb 2017 16:03:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A8E5F160B60; Mon, 13 Feb 2017 15:03:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C19BB160B4D for ; Mon, 13 Feb 2017 16:03:44 +0100 (CET) Received: (qmail 98633 invoked by uid 500); 13 Feb 2017 15:03:43 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 98622 invoked by uid 99); 13 Feb 2017 15:03:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2017 15:03:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 57CB01A7ADE for ; Mon, 13 Feb 2017 15:03:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 1Hc5l1bz54mt for ; Mon, 13 Feb 2017 15:03:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5AB255F54F for ; Mon, 13 Feb 2017 15:03:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DB9C5E023B for ; Mon, 13 Feb 2017 15:03:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 99BFF21D64 for ; Mon, 13 Feb 2017 15:03:41 +0000 (UTC) Date: Mon, 13 Feb 2017 15:03:41 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(NET-601)_IMAPClient.select_cannot_sel?= =?utf-8?Q?ect_mailbox_in_some_cases_wit?= =?utf-8?Q?h_=C3=A6=C3=B8=C3=A5,_spaces_and_sub-folders?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Feb 2017 15:03:45 -0000 [ https://issues.apache.org/jira/browse/NET-601?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1586379= 5#comment-15863795 ]=20 Sebb commented on NET-601: -------------------------- I can reproduce the problems. There does not seem to be a sub-folder with a non-ascii name and with no sp= ace - would it be possible to set one up? > IMAPClient.select cannot select mailbox in some cases with =C3=A6=C3=B8= =C3=A5, 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=C3=B8rg=C3=A5rd > Attachments: import_startssl_to_javahome.windows.zip, testCommons= NetIMAPselect.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=C3=B8 Industri fails like this > AAAB SELECT "Presis\Bod&APg- Industri" > AAAB NO SELECT failure, cannot select mailbox: Folder not found in IMAP n= ame 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 n= ame 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)