You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Honor mail.smtp.localhost with DefaultEmailSenderProvider
#39212
When running keycloak in a k8s pod, the DefaultEmailSenderProvider uses the pod's name as localhost for SMTP HELO. Depending on the SMTP server, this leads to conflicts, as the RFC requires a FQDN to be send.
Setting mail.smtp.localhost with JAVA_OPTS_APPEND has no effect as well as setting QUARKUS_MAILER_OWN_HOST_NAME.
How can I overwrite the mail.smtp.localhost sent during smtp server HELO?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When running keycloak in a k8s pod, the DefaultEmailSenderProvider uses the pod's name as localhost for SMTP HELO. Depending on the SMTP server, this leads to conflicts, as the RFC requires a FQDN to be send.
Setting mail.smtp.localhost with JAVA_OPTS_APPEND has no effect as well as setting QUARKUS_MAILER_OWN_HOST_NAME.
How can I overwrite the mail.smtp.localhost sent during smtp server HELO?
Best regards
Alexander
All reactions