Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cannot find the location of the test1 mails #56

Open
simonladen opened this issue Dec 9, 2024 · 0 comments
Open

I cannot find the location of the test1 mails #56

simonladen opened this issue Dec 9, 2024 · 0 comments

Comments

@simonladen
Copy link

Using mail-tck 2.1.1, I set up the docker image with the mail server (jakartaee/cts-mailserver:0.1), I start the server, create the user, use fpopulate to populate the mailbox with the content of test1.
Then I run the tests, but no matter how I define JAVAMAIL_ROOT_PATH, the tests fail to find test1.
if JAVAMAIL_ROOT_PATH="", I get the error:
[INFO] [exec] [javatest.batch] Exception in thread "main" java.lang.NumberFormatException: For input string: "test1"

if JAVAMAIL_ROOT_PATH="/", I get the error:
[INFO] [exec] [javatest.batch] jakarta.mail.FolderNotFoundException: /.test1 not found

if JAVAMAIL_ROOT_PATH="/root/", I get the error:
[INFO] [exec] [javatest.batch] jakarta.mail.FolderNotFoundException: /root/.test1 not found

Yet fpopulate returned:
Populating test1
Copy from test1 to test1
Copied 25 messages
(I can have similar results with test2 or 3)

Is that path supposed to be in the file system? I cannot find the mails in the container file system.
Connecting to the mailbox using Thunderbird, the inbox appears to be empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant