Logan Hanks

Results comments of Logan Hanks

alertmanager should be issuing STARTTLS before AUTH, if you're configured to use PLAIN auth. Which environment variables are you setting?

Can you confirm that you _don't_ have SMTP_AUTH_SECRET set?

In that case, maybe those environment variables aren't being exported to alertmanager? The logic is around here: https://github.com/prometheus/alertmanager/blob/master/manager/notifier.go#L494 If those variables are set, and if the SMTP host supports PLAIN...

It looks like gmail doesn't talk about its AUTH support until after the TLS negotiation. So we'll need a way to configure the notifier to use TLS unconditionally. (Which makes...