Articles in this section

How to change 'from' field in Plesk email notifications sent to clients?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

Plesk email notifications sent to clients contain the personal email of the Administrator. How to change the 'From' field to hide this personal email address?

Answer

Warning: The solution below works only if Postfix/Qmail is installed on the server and is not relevant for MSMTP (relay only)

Plesk administrator can specify a custom email address to be used as a mail relay. The email address will be used as the sender address for all Plesk email notifications enabled in the Tools & Settings > Notifications menu.

To adjust the settings, perform the following:

  1. Log into Plesk

  2. Edit the Plesk panel.ini file by adding the lines below there:

    CONFIG_TEXT: [notification]
    senderAddress=<custom email address>

    For example:
    from.png

Note: Some notifications such as Additional Administrators activation email, etc. are sent from the "System" with the address: no-reply@<full-server-hostname>. To change this "System" sender email address set the required full hostname under Tools & Settings > Server Settings > Full hostname.

Was this article helpful?

Comments

4 comments
Date Votes
  • We are getting an increased amount of complaints that "forget password" emails are not being received. E.g. to Gmail addresses, as the emails are being send from a non-existing emailaddress and therefor getting rejected. Changing the hostname is not an option, as our customers use the hostname (as it is) to send emails. Changing this, will mean that all of our (Plesk) customers will have to change their email settings for in- en outgoing email servers. Which is not an option.

    Simple fix proposed; use the same set emailaddress for sending forgot password emails, just like with the notification emails. Why use different addresses in the first place?

    1
  • I used the setting on my old server and was wondering why password reset is not working, but it was working just the mails would go directly to the spam folder or outright be rejected by the receiving mail server.

    Also, it is not acceptable that this does not work for MSMTP (relay only), just because I am using an external mail server on my new installation does not mean I am fine with sending notification mails directly to my customer's spam folder.

    3
  • MSMTP support is critical. We use AWS SES service and any non-domain-owned sender address requires validation from the sender to be able to work. :(

    Error:

    host=email-smtp.us-east-1.amazonaws.com tls=on auth=on user=########### from=root@ip-172-###-###-###.us-east-2.compute.internal recipients=admin@email.com smtpstatus=554 smtpmsg='554 Transaction failed: User name is missing: ?Cron Daemon <root>?.' errormsg='the server did not accept the mail' exitcode=EX_UNAVAILABLE
    2
  • 2

Please sign in to leave a comment.