Monit sending alerts to root@localhost.yourdomain.com

Started by DA_MAN, January 30, 2021, 06:05:51 PM

Previous topic - Next topic

DA_MAN

I just made a new install of CWP 7 and turned on Monit. For some reason even though I have changed the alert address it insists on sending the alerts to: "root@localhost.yourdomain.com" where it gets stuck in the postfix mail queue. - I never have had this problem before.

Where do I go to change this address? Thanks in advance.

Igor S.

Hi, there.

Try to use CWPadmin: CWP Settings => Edit settings. Admin email + forward server system emails



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Verus919

Nope.  This did not work for my particular situation.


inmysystem

I had the same issue.

After some digging, here is what I found:

CWP Dashboard -> Email -> MailServer Manager

Fix your Current Settings in Postfix:

mydomain = mydomain.com
myhostname = websrv.mydomain.com
(change the names to match your information)

Don't forget to check:

✔AntiSpam/AntiVirus (recommended)
✔rDNS Check (recommended)    
✔Install DKIM & SPF (recommended)
✔Install Policyd (recommended)

Then, "REBUILD MAIL SERVER" .

Depending on the speed of your machine, I had to wait a good 20 min, maybe more.
After that, I checked:

CWP Settings -> Edit settings
make sure you have set an email in the = CSF/LFD Alerts

Then I rebooted the server, check email settings,s and the CWP dashboard (CWP info) box for "Hostname".

Fixed :)

Hope this helps.