SMTP server configuration

112 views
Skip to first unread message

Bhargav

unread,
Sep 18, 2022, 10:29:43 PM9/18/22
to Wazuh mailing list
I want to configure the smtp server and my wazuh manager(CLI) was present in oracle vm virtualbox and I was not able to install the needed packages. In wazuh webpage there is only for Ubuntu and CentOS. So, Can you please say how to configure the smtp server and receive the mail alert from wazuh dasboard. 

Aditya Sharma

unread,
Sep 18, 2022, 11:13:23 PM9/18/22
to Wazuh mailing list
Hi Bhargav, Hope you are doing good!

Can you please let us know the errors you are getting in order to install the needed packages? 

You can follow the same documentation which is given here: https://docs.oracle.com/en/industries/communications/session-monitor/4.4/installation/configuring-smtp-settings.htmlhttps://documentation.wazuh.com/current/user-manual/manager/manual-email-report/smtp-authentication.html#smtp-authentication

I hope this helps you. Looking for your response soon!

Regards
Aditya Sharma

Bhargav

unread,
Sep 18, 2022, 11:53:01 PM9/18/22
to Wazuh mailing list
I was getting this error while I was using the above command

IMG_20220919_085038.jpg

Aditya Sharma

unread,
Sep 19, 2022, 12:40:54 AM9/19/22
to Wazuh mailing list
Hi Bhargav,

You need to add your DNS servers to /etc/resolv.conf so it can know the hosts in the repo, for example in my case (google DNS is enough):

cat /etc/resolv.conf

 # Generated by NetworkManager

 nameserver 192.168.1.128 # local DNS
 nameserver 8.8.8.8
 nameserver 8.8.4.4

I hope this helps you. You can check it out here also: https://unix.stackexchange.com/questions/345124/dont-work-yum-update-yum-doesnt-have-enough-cached-data-to-continue

Regards
Aditya Sharma

Bhargav

unread,
Sep 19, 2022, 1:08:57 AM9/19/22
to Wazuh mailing list
I added the dns server after it was getting the above:

2.png

After pressing the "y" I was getting this error:
1.png

Aditya Sharma

unread,
Sep 20, 2022, 12:03:55 AM9/20/22
to Wazuh mailing list
Hi Bhargav,

Can you just try to follow this reference document once: https://serverfault.com/questions/904304/could-not-resolve-host-mirrorlist-centos-org-centos-7


I hope this helps you.

Regards
Aditya Sharma
Reply all
Reply to author
Forward
0 new messages