[
https://issues.apache.org/jira/browse/GERONIMO-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg closed GERONIMO-6565.
-----------------------------------
Resolution: Won't Fix
Closing old outdated issues.
Note that the Apache Geronimo Application Server itself was declared EOL in
2017 and we do not maintain the server parts anymore.
We still do actively maintain many of the Java EE / Jakarta EE which saw the
light during creation of the Apache Geronimo Aplication Server.
If you feel that this ticket still affects one of those components then please
feel free to reopen the ticket.
thanks, your Apache Geronimo team!
> Store.getDefaultFolder().list("*") sends wrong command
> ------------------------------------------------------
>
> Key: GERONIMO-6565
> URL: https://issues.apache.org/jira/browse/GERONIMO-6565
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Environment: TomEE 7.0.2
> Reporter: Matthew Broadhead
> Priority: Major
> Attachments: filterFolders.diff, filterFolders.diff,
> filterFolders.diff
>
>
> using TomEE 7.0.2 with package geronimo-javamail_1.4_mail-1.9.0-alpha-2.jar.
> i try to list folders in a store
> {code:java}
> import javax.mail.Folder;
> import javax.mail.Session;
> import javax.mail.Store;
> ...
> Properties properties = System.getProperties();
> properties.setProperty("mail.debug", "true");
> Session session = Session.getDefaultInstance(properties, null);
> session.setDebug(true);
> Store store = session.getStore("imaps");
> store.connect("imap.domain.tld", "username", password);
> Folder[] folders = store.getDefaultFolder().list("*");
> {code}
> Debugging shows that it sends the following command which results in a blank
> list
> {code}
> a90 LIST / "*"
> a90 OK List completed.
> {code}
> Whereas testing with the tutorial on
> https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/
> the command works correctly as
> {code}
> LIST "" "*"
> {code}
> Is there a setting somewhere to tell it to omit the slash at the beginning?
> i.e. define the root namespace
--
This message was sent by Atlassian Jira
(v8.20.10#820010)