-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sendmail not working #1471
Comments
@estezz Is kapacitor installed on the same host where your mail server is installed? Is it TLS enabled? |
OK so to take the local system out of the equation I am now using AWS SES. and see in the kapacitor.log not sure how to fix this. I am actively using the SES email in a Java application. I have tried all the ports available in the SES configuration. Here is what the AWS documentation says
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp.html --[smtp] / # Skip TLS certificate verify when connecting to SMTP server / # If true the all alerts will be sent via Email slashes just added to overcome markdown |
I'm now trying amazon SES and getting the same error. I can't use the configuration file it seems because I set the settings in the chronograf dashboard. Any way to clear that? Any way to simply use the local sendmail, which I've had experience configuring before? or just using it and hoping it works? I'm struggling to get alerts outward from kapacitor! |
I've been trying to get SMTP via SES working, also with no luck... wondering if its a TLS issue |
(N.B. I got to the bottom of it all, so I just scrapped my prior comments in order to rewrite my findings clearly.) Perhaps I'm late to the party, but I struggled with Amazon SES for a while before finally nailing down the source of my particular issue: the "from" address also needs to be a "verified" email address in Amazon SES. I was able to do this troubleshooting by POSTing to Kapacitor's
In Kapacitor logs, I found this line:
Hope that helps! |
port: 25 |
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
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
The text was updated successfully, but these errors were encountered: