Hi Isaiah,
Thank you for your response!!
As per your suggestion, we have updated the /etc/hosts file but still facing the same error,
With Below error message on Wazuh-dashboard,
ERROR:
Failed to send the test message.
[status_exception] {"event_status_list": [{"config_id":"mep8sI0BB9PDbUFMIVuF","config_type":"email","config_name":"TestWazuh","email_recipient_status":[{"recipient":"
hariha...@gmail.com","delivery_status":{"status_code":"502","status_text":"sendEmail Error, status:Invalid Addresses"}}],"delivery_status":{"status_code":"502","status_text":"sendEmail Error,
status:Invalid Addresses"}}]}
But the email id is correct.
Please find the below log lines from /var/log/maillog log file,
Mar 5 18:06:11 wazuh-server sendmail[27750]: 425DMRDr018438: 425I4A6t027750: sender notify:
Warning: could not send message for past 4 hoursMar 5 18:06:11 wazuh-server sendmail[27750]: 425I4A6t027750: to=<
hariha...@gmail.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31722, relay=
smtp.gmail.com., dsn=4.0.0, stat=
Deferred: Connection timed out with smtp.gmail.com.
Thanks,
Haris