Keycloak outgoing mail

Configure realm-level SMTP and verify a password-reset message end to end.

Last updated

On this page (5)

Keycloak · Outgoing mail

Before you start

  • Realm admin access and non-production account.
  • Relay host, sender authorization and approved TLS/auth settings.

Procedure

  1. In the target realm’s Realm settings → Email, enter Host, Port and From; set Reply To only if replies should go to a different mailbox.
  2. Set SSL or StartTLS and authentication as required by the relay. Store the credential according to the deployment’s secret policy.
  3. Use the realm connection test with an admin mailbox configured, then run a password reset for a disposable realm account.

Verify the result

  • The intended mailbox receives the message and the reset link uses the correct staging hostname.
  • The link completes the expected realm flow; the sender and reply-to match policy.

Official documentation

Have Pilae operate Keycloak

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.