I have configured alerts to be sent via SMTP (using AWS SES).
Sometimes the emails don’t send properly, with the following error message:
[smtp] 2017/05/11 00:33:30 E! error closing connection to SMTP server: 421 Timeout waiting for data from client.
[smtp] 2017/05/11 00:34:30 E! gomail: could not send email 1: 421 Timeout waiting for data from client.
[smtp] 2017/05/11 00:35:00 E! error closing connection to SMTP server: EOF
I found this thread about the subject:
But I can not really figure out how to implement that in Kapacitor. Is there a timeout option for SMTP?