Open SadikiOnga opened 5 years ago
@Qmando I wish you can help on this or just a guidelines.
Maybe try setting the from_addr
to your full email address ? Google is probably rejecting the email because of that
@Qmando from_addr: "xxxxxx@gmail.com" as shown above, have changed it still email not received. Is there any other way of testing for email alerting, may be yahoo etc which is sure to receive email alerting
The error that occurred when specifying the Gmail address with from_addr was not a program problem but a setting problem. Launch a web browser on the terminal running ElastAlert, access the Google settings screen, go to the Google account → App that can access the account → Allow less secure apps: Disable → Change to enable. When I specified the Gmail address with from_addr and confirmed the operation, it worked normally.
smtp_port: 587
smtp_host: "smtp.gmail.com"
smtp_port: 587
smtp_ssl: false
smtp_auth_file: '/opt/elastalert/smtp/smtp_auth_user.yaml"
smtp_auth_user.yaml
user: xxx@gmail
password: xxx
smtp_port: 465
smtp_host: "smtp.gmail.com"
smtp_port: 465
smtp_ssl: true
smtp_auth_file: '/opt/elastalert/smtp/smtp_auth_user.yaml"
smtp_auth_user.yaml
user: xxx@gmail
password: xxx
Hello community, I'm actually working on my final project before graduating and the term is 'SIEM = ELKStack with elastalert for email alerting and X-Pack .
I've followed instruction given on a documentation, i can get match while testing rules. elastalert start normally but no email is received via gmail. Y I've configured SSMTP and can reciev emailvia command line. Honestly a big help is warmly welcomed. @Qmando
OS : CenTos 7 python v 2.7
### 1. rules ### 1.1 Example_rules.yaml****
1.2 : smtp_auth_file.yaml
1.3 : testing rules
1.4 : starting elastalert
2. ssmtp
file : revaliases
### testing email email received **