Closed KevDi closed 9 months ago
I was able to reproduce and solve the issue. It seems to be the problem with the missing trim of the password. I did not had any whitespace in the password file but it seems there were some whitespaces added during reading of the file. This PR solves this problem but it is not part of the latest release. #3680
What did you do? I want to send out Emails and specifying the SMTP Password in a separate file
What did you expect to see? Email should be send to the configured receivers
What did you see instead? Under which circumstances? If an alert fires i got the following error:
If i directly configure the
auth_password
it works.Environment
System information:
Linux 5.14.0-362.8.1.el9_3.x86_64 x86_64
Alertmanager version:
alertmanager, version 0.26.0 (branch: HEAD, revision: d7b4f0c7322e7151d6e3b1e31cbc15361e295d8d) build user: root@df8d7debeef4 build date: 20230824-11:11:58 go version: go1.20.7 platform: linux/amd64 tags: netgo
Prometheus version:
prometheus, version 2.45.2 (branch: HEAD, revision: 3d6b7e665928a78c4a18675802436fe92f3f4e04) build user: root@3b1b6808f1b0 build date: 20231219-14:07:38 go version: go1.21.5 platform: linux/amd64 tags: netgo,builtinassets,stringlabels
Alertmanager configuration file:
This is basicly the content of the smtp-password file: