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 58F01200C1B for ; Tue, 14 Feb 2017 11:29:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 578AB160B5F; Tue, 14 Feb 2017 10:29:46 +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 A33CF160B52 for ; Tue, 14 Feb 2017 11:29:45 +0100 (CET) Received: (qmail 94054 invoked by uid 500); 14 Feb 2017 10:29:44 -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 94043 invoked by uid 99); 14 Feb 2017 10:29:44 -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; Tue, 14 Feb 2017 10:29:44 +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 3B39E1A0349 for ; Tue, 14 Feb 2017 10:29:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HIfuUIB9La11 for ; Tue, 14 Feb 2017 10:29:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9AA1E5FB44 for ; Tue, 14 Feb 2017 10:29: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 DDFC9E008E for ; Tue, 14 Feb 2017 10:29: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 998AE2411B for ; Tue, 14 Feb 2017 10:29:41 +0000 (UTC) Date: Tue, 14 Feb 2017 10:29: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: Tue, 14 Feb 2017 10:29:46 -0000 [ https://issues.apache.org/jira/browse/NET-601?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1586554= 1#comment-15865541 ]=20 Sebb commented on NET-601: -------------------------- I think I have found the reference: https://tools.ietf.org/html/rfc2683#section-3.4.2 In which case, Domino is correct. The problems do not arise with GMail and Yahoo because they use / as the fo= lder separator. > 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: > {code} > 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 > {code} > 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)