Hello everyone,
Has anyone here successfully configured Office365 with Wazuh to receive email alerts, with Wazuh installed using Docker Compose?
I've been trying for a while, followed the docs, and used the same config, but it’s still not working.
Thanks a lot for your help!
I have added the local paths in the "volumes" section and double-checked the configuration after restarting the containers. To receive email alerts, I set up an SMTP relay using Postfix,. I also lowered the alert level on the Wazuh side to ensure I receive alerts by email, but I'm still not receiving any alerts.
When I check the logs in wazuh_manager, I get the following error: wazuh-maild: ERROR: (1263): Error Sending email to 127.0.0.1 (smtp server)
I'm not sure where the problem is coming from. Could it be that Postfix is unable to connect to the container? I noticed in the configuration that the smtp_server field in the ossec.conf file should be set to localhost, and I even tried using the host's IP address, but it didn't work.