Grafana in Docker, SMTP notification failure

Hmm, I think that was only when using Docker on a Windows OS.

Are you sure, that your syntax is correct?

GF_SMTP_Password="""password"""

IMHO it should be:

GF_SMTP_PASSWORD="password"

I bet you have wrong syntax, so default (empty/null) password is sent to SMTP server and that really can’t decode it - AuthCmdHandler xref

3 Likes

thanks, @jangaraj that’s really a good catch !!

Yeah great point. Can OP bypass those yml configs and manually set uname and pwd in defaults.ini and see what happens?

Thank you so much!

image

It finally worked!

The syntax that worked is following:

GF_SMTP_PASSWORD=password

…so no single quotes :slight_smile:

1 Like