Sending email from gmail

I know there a lot of questions around this issue, and haven't seen a clear explanation...TBH

I installed my ELK stack using rpm and running very fine.

However, have been struggling on how to get my watcher up and running. However, in the elastic documentation, it wasn't stated on how store the SMTP account password using rpm file, the command only works when ELK is installed as tar file.

So i ran this command to store the SMTP account provided by elastic
bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password

And here is my respond on my console
[root@localhost elasticsearch]# bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password
-bash: bin/elasticsearch-keystore: No such file or directory

Below is my elasticsearch.yml on watcher
xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: **********@gmail.com

Also, do i need to configure mail processing system like mailx on my server before watcher can work.
Kindly help out. Thanks.

the binary is in a different location, when installing as RPM. See documentation lists the directory layout of the RPM

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.