Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: zeejdeej on May 26, 2020, 10:40:50 AM
-
hello,
monit is trying to send email alerts to root@localhost and all these emails are being rejected due to the following reason:
May 26 12:26:17 server.baringslaw.group postfix/smtpd[8636]: NOQUEUE: reject: RCPT from server.baringslaw.group[::1]: 504 5.5.2
<root@localhost>: Recipient address rejected: need fully-qualified address; from=<monit@server.baringslaw.group> to=<root@localhost>
proto=ESMTP helo=<server.baringslaw.group>
message reject detail
---------------------
RCPT
Recipient address rejected: need fully-qualified address (total: 289)
289 root@localhost
how to change the monit reporting email address ?
Regards,
Zeeshan Javed
-
CWP SETTINGS->Edit Settings->Admin Email: + forward server email
-
or nano /etc/monitrc
set alert your@domain.tld
-
CWP SETTINGS->Edit Settings->Admin Email: + forward server email was already set to my domain email but it was still sending emails to root@localhost
this seems the be the right place to change root@localhost , thanks for sharing.... do i have to restart monit service after this ?
nano /etc/monitrc
set alert your@domain.tld
-
yes =) always restart after any changes.
-
cwp pro is also generating system email alerts to root@my-server-hostname ..... any idea where to modify that address?
-
yes it will send from root@hostname to your email id