influxdata / influxdata/kapacitor

sendmail not working

Open
#1,471 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I have configured kapacitor SMTP but not getting any emails. my kapacitor.conf is attached. I am using kapacitor 1.3.1 also tried 1.2 sendmail works from the command line, and I wrote a java app to test sendmail and that works fine. I will attach the java code as example.
[TestSmtp.txt](https://github.com/influxdata/kapacitor/files/1132455/TestSmtp.txt)

kapacitor.log
[smtp] 2017/07/07 21:54:17 E! error connecting to SMTP server 535 5.7.0 authentication failed

mail.log
Jul 7 21:54:17 ip-10-201-108-164 sm-mta[20842]: v67LsHjX020842: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
[kapacitor.txt](https://github.com/influxdata/kapacitor/files/1132452/kapacitor.txt)

Contributor guide

Open the contributing guide

Research direction

Start with the attached kapacitor.txt configuration and the SMTP error in kapacitor.log, then compare the settings with TestSmtp.txt and the mail.log connection record. Reproduce the authentication failure and determine whether Kapacitor can send mail successfully with the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.