You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/06 05:44:00 UTC

[jira] [Closed] (IMAP-349) javax.mail.FolderNotFoundException: inbox not found when reading from lowercase inbox folder

     [ https://issues.apache.org/jira/browse/IMAP-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed IMAP-349.
-------------------------------
    Fix Version/s:     (was: 0.3)
       Resolution: Cannot Reproduce

No longer happening...

{code:java}
$ telnet 172.17.0.2 143
Trying 172.17.0.2...
Connected to 172.17.0.2.
Escape character is '^]'.
* OK JAMES IMAP4rev1 Server 2a8cec491919 is ready.
a1 login bob@localhost 123456
a1 OK LOGIN completed.
a1 SELECT inbox
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 2830370963] UIDs valid
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [HIGHESTMODSEQ 0] Highest
* OK [UIDNEXT 1] Predicted next UID
a1 OK [READ-WRITE] SELECT completed.
{code}


> javax.mail.FolderNotFoundException: inbox not found when reading from lowercase inbox folder
> --------------------------------------------------------------------------------------------
>
>                 Key: IMAP-349
>                 URL: https://issues.apache.org/jira/browse/IMAP-349
>             Project: James Imap
>          Issue Type: Bug
>          Components: Mailbox
>    Affects Versions: 0.3
>            Reporter: Phanidhar
>            Assignee: Norman Maurer
>            Priority: Major
>
> the default folder is case sensitive for IMAP. Was able to successfully connect and read emails using upper case "INBOX" but lower "inbox" gives the following error. 
> javax.mail.FolderNotFoundException: inbox not found
> 	at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:219)
> 	at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:739)
> 	at ReadMail.processMail(ReadMail.java:60)
> 	at ReadMail.<init>(ReadMail.java:19)
> 	at ReadMail.main(ReadMail.java:167)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org