Closed
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
testsuite
Describe the bug
I can't use the Java system properties as described in the tests.md to configure the email server in Keycloak
Version
main
Regression
- The issue is a regression
Expected behavior
The information in tests.md is correct.
Actual behavior
The system properties are not used. Keycloak complains that no sender address is configured.
Failed to send verification email: org.keycloak.email.EmailException: No sender address configured in the realm settings for emails
How to Reproduce?
From tests.md
:
To configure Keycloak to use the above server add the following system properties:
keycloak.mail.smtp.from=auto@keycloak.org
keycloak.mail.smtp.host=localhost
keycloak.mail.smtp.port=3025
For example if using the test utils Keycloak server start it with:
mvn exec:java -Pkeycloak-server -Dkeycloak.mail.smtp.from=auto@keycloak.org -Dkeycloak.mail.smtp.host=localhost -Dkeycloak.mail.smtp.port=3025
Anything else?
I'll create a PR to describe how to manually configure it.