Hello
Dhiren Chavda,
At first, I would need you to ensure if the smtp_server is reachable from the Wazuh manager.
Can you send test mail from the Wazuh server to the recipient's mail with the existing SMTP server?
Also, it would be helpful if you could kindly share more details about the SMTP Servers.
To send email alerts with SMTP authentication you have to configure a server relay. SMTP relays forward emails to other mail servers, often for internal-to-external communication. If both are on the same network or connected through a relay host, it works without an SMTP relay. However, if the recipient's mail server is external or not directly reachable, configuring an SMTP relay becomes essential. If the recipient's mail server is not on the same network as the Wazuh manager, or if the Wazuh manager cannot connect to the recipient's mail server using a relay host, then Wazuh will be unable to send emails.
Remember, SMTP relays act as intermediaries, forwarding emails. We recommend using postfix but as you have already mentioned that you cannot use that, instead you can use Sendmail or something similar if needed.
For further reference, please check out our official documentation:
https://wazuh.com/blog/how-to-send-email-notifications-with-wazuh/https://documentation.wazuh.com/current/user-manual/manager/alert-management.html#smtp-server-with-authenticationLet me know!