Skip to content

Alert manager unable to send unsecured emails #1236

Open
@orlmar

Description

@orlmar

We just upgraded Alertmanager from version 0.9.1 to 0.13.0 and Prometheus from 1.8.1 to 2.1. The Alertmanager's email receiver doesn't work anymore with identical configuration.

In the log, we have an error:
msg="Notify attempt failed" attempt=10 integration=email err="*smtp.plainAuth failed: unencrypted connection"

Could it be related to this issue in net/smtp?
golang/go#22166

Th smtp related configuration is:

global:
smtp_smarthost: 'smtpserver:25'
smtp_from: 'user@domain'
smtp_auth_username: 'user'
smtp_requiere_tls: false
...
receivers:

  • name: 'emailreceiver'
    email_configs:
    • to: 'user@domain'
      headers:
      subject: 'testing'
      html: 'some body'

Also we tested requiere_tls parameter in email_configs section for the case it doesn't read the global parameter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions