Funky89
September 10, 2020, 7:38am
1
Elasticsearch version: 7.9.0
Server OS version: Debian 10
Kibana version (if relevant): 7.9.0
Browser version (if relevant): Firefox
Browser OS version (if relevant): 80.0.1
Describe the issue:
Hello everyone,
I would like to use the send email by alert but I have an error message :
Now my Watches config:
And my account :
The smtp works fine from debian with sendmail and this is the correct configuration of my account
Can you tell me where my mistake came from? Should I install sendmail on the elastic server? Or it should work with SearchGuard ?
Cordially,
Benjamin
srgbnd
September 10, 2020, 8:58am
2
Hi. The Signals should work with a remote mail server. You should have error(s) in the Elasticsearch log, please post the log here.
Also, please retrieve the watch document and post it here too.
If multitenancy is enabled.
curl -k -u admin:admin -X GET https://localhost:9200/_signals/watch/{tenant}/{watch_id}
If multitenancy is disabled.
curl -k -u admin:admin -X GET https://localhost:9200/_signals/watch/_main/{watch_id}
Funky89
September 10, 2020, 9:51am
3
Hi srgbnd
For the log on Elasticsearch :
Kibana log :
And when i try with
curl -k -u admin:admin -X GET https://localhost:9200/_signals/watch/{tenant}/{watch_id}
i have this :
For my tests I am in http and not in https, we need to have the SSL ?
EDIT : Ok i see my mistake… Is worked now, Thanks you srgbnd wrong TLS on my email
cstaley
September 10, 2020, 10:05am
4
This seems to be a bug that is ocurring when using TLS enabled email accounts. As a workaround, try to set *
as trusted host or the host name of the mail server noted in its TLS certificate.
See for details: com.sun.mail.smtp (JavaMail API documentation)