Pl refer output:root@XX01:/home/riteshpurbey# cat /var/ossec/etc/ossec.conf
<!--
Wazuh - Manager - Default configuration for ubuntu 20.04
More info at: https://documentation.wazuh.com
Mailing list: https://groups.google.com/forum/#!forum/wazuh
-->
<ossec_config>
<global>
<jsonout_output>yes</jsonout_output>
<alerts_log>yes</alerts_log>
<logall>yes</logall>
<logall_json>yes</logall_json>
<email_notification>yes</email_notification>
<smtp_server>SMTP_DNS_Namel</smtp_server>
<email_from>ossecm@domain_Name.com</email_from>
<email_to>us...@emailid.com</email_to>
<email_to> us...@emailid.com </email_to>
<email_maxperhour>12</email_maxperhour>
<email_log_source>alerts.log</email_log_source>
<agents_disconnection_time>10m</agents_disconnection_time>
<agents_disconnection_alert_time>0</agents_disconnection_alert_time>
</global>###
root@XX01:/home/riteshpurbey# ps aux | grep ossec-maild | grep -v grep
ossecm 1650302 0.0 0.0 36844 16652 ? Sl 03:35 0:04 /var/ossec/bin/ossec-maild
root@XX01:/home/riteshpurbey###On Monday, December 27, 2021 at 12:03:03 PM UTC+5:30 Reetaes purbey wrote:How to setup Email Notification under Wazuh - All in one..Note: we're using SMTP relay host.Best Regards,Ritesh PurbeyOn Monday, December 27, 2021 at 12:03:03 PM UTC+5:30 Reetaes purbey wrote:How to setup Email Notification under Wazuh - All in one..Note: we're using SMTP relay host.Best Regards,Ritesh Purbey
Hi Jose,we have 'SMTP relay' host and we already 'whitelist' the SIEM server under SMTP Relay host and under ossec.conf already called our internal Email id. Is there any way to test?when we are using a relay host- then 'No Authentication required'.riteshpurbey@deluxpsiem01:~$ telnet XX.XX.XX.XX 25
Trying XX.XX.XX.XX ...
Connected to XX.XX.XX.XX .
Escape character is '^]'.
Connection closed by foreign host.
riteshpurbey@ XX01:~$Best Regards,Ritesh Purbey
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/fc4a0630-7f8c-4d8c-9ed4-6181ef47147an%40googlegroups.com.
We did, but were not able to receive any email.Best Regards,Ritesh Purbey
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/96207c55-8960-4c40-8c6d-f86e57b90267n%40googlegroups.com.
Hi ,It's an Exchange connector for smtp relay and with another server we are able to receive alerts via smtp relay host whitelisting...will try with send mail from Wazuh Host and update you soon.Best Regards,Ritesh Purbey
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/24782bcb-926e-4ed1-b862-8b6e8dd745bdn%40googlegroups.com.
from to server able to trigger the mail but from tools not able to receive any alert.like : i have configured report from agent disconnected and other end i have stopped the service and waited 30 minutes .##echo "This is the body of the email" | mail -s "This is the subject line" ritesh...@company.com ==> able to receive the mail into my inbox.
Hi Team,Any update on the same!!!BR,RiteshOn Monday, January 24, 2022 at 9:44:24 AM UTC+5:30 Reetaes purbey wrote:Any update!!!Best Regards,RiteshOn Wed, Jan 19, 2022 at 7:02 PM Reetaes purbey <ree...@gmail.com> wrote:Hi ,PFA.root@XX01:/home/riteshpurbey# /var/ossec/bin/wazuh-maild -fdd
bash: /var/ossec/bin/wazuh-maild: No such file or directory
root@XX01:/home/riteshpurbey# /var/ossec/bin/
agent_control ossec-agentlessd ossec-execd ossec-monitord syscheck_control wazuh-clusterd
agent_groups ossec-analysisd ossec-integratord ossec-regex syscheck_update wazuh-db
agent_upgrade ossec-authd ossec-logcollector ossec-remoted update_ruleset wazuh-logtest
clear_stats ossec-control ossec-logtest ossec-reportd util.sh wazuh-modulesd
cluster_control ossec-csyslogd ossec-maild ossec-syscheckd verify-agent-conf
manage_agents ossec-dbd ossec-makelists rootcheck_control wazuh-apid
root@XX01:/home/riteshpurbey# /var/ossec/bin/wazuh-
wazuh-apid wazuh-clusterd wazuh-db wazuh-logtest wazuh-modulesd
root@XX01:/home/riteshpurbey# /var/ossec/bin/
agent_control ossec-agentlessd ossec-execd ossec-monitord syscheck_control wazuh-clusterd
agent_groups ossec-analysisd ossec-integratord ossec-regex syscheck_update wazuh-db
agent_upgrade ossec-authd ossec-logcollector ossec-remoted update_ruleset wazuh-logtest
clear_stats ossec-control ossec-logtest ossec-reportd util.sh wazuh-modulesd
cluster_control ossec-csyslogd ossec-maild ossec-syscheckd verify-agent-conf
manage_agents ossec-dbd ossec-makelists rootcheck_control wazuh-apid
root@XX01:/home/riteshpurbey# /var/ossec/bin/Best Regards,Ritesh
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/46f5f4ba-84c9-4295-b2f0-417d42daa7a7n%40googlegroups.com.