I am currently trying to configure email verification for my server I am running. I currently cannot get keycloak to connect to my mailjet server from my cloud server, but it works fine if I create a keycloak server locally on my machine.
I click the test connection in the email tab on the keycloak server and it fails to connect.
But the exact same steps work fine when I do them on my local machine.
It is connecting to my own Postgres server, but it is a fresh server and it still happens if I also don’t provide a server.
I am running a Linode server:
Alpine 3.12, Nanode 1GB: 1 CPU, 25GB Storage, 1GB RAM
I tried testing with Ubuntu and it still failed.
Docker-compose file:
version: “3.7”
services:
keycloak:
image: jboss/keycloak
environment:
DB_VENDOR: "postgres"
DB_ADDR: "${WEBSITE}"
DB_DATABASE: "postgres"
DB_USER: "postgres"
DB_SCHEMA: public
DB_PASSWORD: "${MASTER_KEY}"
DB_PORT: "5432"
KEYCLOAK_USER: "${MINIO_ACCESS_KEY}"
KEYCLOAK_PASSWORD: "${MASTER_KEY}"
ports:
- "8443:8443"
And for mailjet, I am just following their SMTP relay guide. I have tried port 25, 587, and I have tried SSL with smartTSL on and off for port 465.
If you think it is something specific with the Lindoe server configuration, I can raise an issue with them.