天天看點

【Alertmanager】騰訊企業郵箱配置

SMTP 騰訊企業郵箱配置,需要注意的地方

  • 端口使用

    587

    而不是

    465

    • 587:STARTTLS協定的屬于TLS通訊協定 隻是他是在STARTTLS指令執行後才對之後的原文進行保護。
    • 465:為SMTPS(SMTP-over-SSL)協定服務。alert需要使用587端口,走的STARTTLS協定
  • smtp_auth_password 需要用到用戶端專用密碼。這個需要在郵箱裡面開啟,否則會影響發信服務
Alertmanager 全局配置内容

global:
  smtp_smarthost: 'smtp.exmail.qq.com:587'
  smtp_from: '##'
  smtp_auth_username: '##'
  smtp_auth_password: '##'
  smtp_require_tls: true
  resolve_timeout: 10s