-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to sendmail with non-anonymous user #355
Comments
http://www.robustperception.io/sending-email-with-the-alertmanager-via-gmail/ should put you down the right path. |
@brian-brazil Thanks you very much. I have change the another alertmanager edition by your suggestion, and so that it seems to pass auth success. However, now caught another exception with: WARN[1200] Notify attempt 2 failed: starttls failed: x509: cannot validate certificate for 192.168.xx.xx because it doesn't contain any IP SANs source=notify.go:193 Should I close the cls configure? How can I deal with it, it seems I can't change the alertmanager code if released. Thanks you very much again! |
Hi jaminlai, this looks to me that you created the certificate by yourself, or you have a certificate for a fqdn but access it via an IP address. Maybe also have a look at this thread, seems to me pretty similar to your issue: elastic/logstash-forwarder#221. Hope that helps you further. |
hi, we want to notify message with alertmanager by send email.
however,the smtp server response 'Client was not authenticated', the detail tcp produce as below:
I think that the go connect smtp without carry the SMTP_AUTH_USERNAME and SMTP_AUTH_PASSWORD so take me as anonymous user
Here is the part of alertmanager.yml configure:
and I have also set 2 environment variables:
SMTP_AUTH_USERNAME=xxx
SMTP_AUTH_PASSWORD=xxx
please help me ,thanks
The text was updated successfully, but these errors were encountered: