Issue Plesk send email to root

NaN-Edi

New Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
18.0.49 Update #2
Hi

2023-01-20 06:32:15 PST ERR msmtp [28863] host=smtp.xxx tls=on auth=on user=postadmin@xxxx from=[email protected] recipients=root smtpstatus=501 smtpmsg='501 Invalid command or cannot parse to address' errormsg='recipient address root not accepted by the server' exitcode=EX_DATAERR

I see this error every day at the same time.

Have you ever seen this type of error in the Log Browser?

I only installed an External SMTP Server.

How do I change this root to my email address?

Thanks
 
well, i did had the same problem.

1728709098700.png
try to edit /etc/aliases

there you can set the sender address from user root to another, accepted address:

f.e.:

root: [email protected]

-> means every mail from sender root will be redirectet to the given alias and use this alias as the sender address.

thats how i fixed this problem for me (plesk obsidian

after editing the aliases file just tell your terminal: sudo newaliases

joshua
 
As Joshua pointed, the issue is caused because root user alias is not defined in the system-wide aliases and consequently system notifications emails are not delivered on the Plesk server when using an external mail service. You can also try updating the email through the GUI:

  1. Navigate to Plesk > Profile & Presence.
  2. Make sure that administrator e-mail address is specified in Email Address field and press Apply.
 
Back
Top