Alertmanager Unable to Send Emails: Neither smtp_require_tls: true nor smtp_require_tls: false Works

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: alertmanager 无法发送邮件 smtp_require_tls: true 和smtp_require_tls: false 都不行

| username: suqingbin0315

【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】v5.4.0
【Encountered Issue】Unable to send emails
【Problem Phenomenon and Impact】
level=error ts=2022-06-21T02:10:02.72338391Z caller=notify.go:339 component=dispatcher msg=“Error on notify” err=“require_tls: true (default), but "smtp.exmail.qq.com:465" does not advertise the STARTTLS extension”
level=error ts=2022-06-21T02:10:02.723456536Z caller=dispatch.go:264 component=dispatcher msg=“Notify for alerts failed” num_alerts=1 err=“require_tls: true (default), but "smtp.exmail.qq.com:465" does not advertise the STARTTLS extension”
level=error ts=2022-06-21T02:10:17.725205712Z caller=notify.go:339 component=dispatcher msg=“Error on notify” err=“require_tls: true (default), but "smtp.exmail.qq.com:465" does not advertise the STARTTLS extension”
level=error ts=2022-06-21T02:10:17.725276481Z caller=dispatch.go:264 component=dispatcher msg=“Notify for alerts failed” num_alerts=1 err=“require_tls: true (default), but "smtp.exmail.qq.com:465" does not advertise the STARTTLS extension”

| username: suqingbin0315 | Original post link

Add this and it should be fine.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.