Control Web Panel

WebPanel => Installation => Topic started by: DA_MAN on January 30, 2021, 06:05:51 PM

Title: Monit sending alerts to root@localhost.yourdomain.com
Post by: DA_MAN on January 30, 2021, 06:05:51 PM
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.
Title: Re: Monit sending alerts to root@localhost.yourdomain.com
Post by: Igor S. on February 01, 2021, 09:39:32 AM
Hi, there.

Try to use CWPadmin: CWP Settings => Edit settings. Admin email + forward server system emails
Title: Re: Monit sending alerts to root@localhost.yourdomain.com
Post by: Verus919 on July 31, 2021, 04:53:58 PM
Nope.  This did not work for my particular situation.
Title: Re: Monit sending alerts to root@localhost.yourdomain.com
Post by: kenmarple on November 11, 2021, 09:24:13 PM
I am having the same thing
Title: Re: Monit sending alerts to root@localhost.yourdomain.com
Post by: inmysystem on January 25, 2022, 05:16:48 AM
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.