Hi :wave: everyone! I have a problem with the setu...
# support
j
Hi 👋 everyone! I have a problem with the setup of email alerts in Self Hosted instalation in K8S. I've tried to set up all SMTP_* ENVs in STS as they are described in docs, but the the mail alert channel still fails at test. Is there anything else what is needed to set up for sending emails from SigNoz ?
v
Version?
j
v0.76.2
v
What error are you getting?
j
image.png
v
In the console, can you see the api output of the
testChannel
call?
j
{"level":"INFO","timestamp":"2025-04-04T083911.953Z","logger":"go.signoz.io/pkg/http/middleware","caller":"middleware/logging.go:88","msg":":RECEIVED REQUEST:","client.address":"10.42.0.4:47352","user_agent.original":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","server.address":"","server.port":"","http.request.size":10100,"http.route":"/api/v1/testChannel","http.response.status_code":500,"http.server.request.duration":2,"response.body":"{\"status\":\"error\",\"error\":{\"code\":\"unknown\",\"message\":\"establish connection to server: dial tcp [:1]25: connect: connection refused\"}}"}
v
interesting, have you set up the SMTP host correctly?
j
SMTP server has IP 10.10.1.2
here are the ENVs from pod:
j
OK, I see. will change the ENVs to new names (SIGNOZ_ALERTMANAGER_SIGNOZ_GLOBAL_SMTP__*) and will test it again.
thank you very much
I've checked the ENVs, but we are setting up just the helm chart:
v
It seems our helm charts are outdated 🥲.
j
SMTP_ ENVs are defined by helm
OK, will manage it locally