Question
Is there a method to customize the sending email address of notifications sent to cPanel users?
Answer
Not at this time. We do encourage you to vote on the existing feature request to implement the ability to customize the sender. The feature request can be found below:
Feature Request - Customize FROM email address for iContact
Alternatively, you could rewrite the sender by customizing Exim.
Please note that the following is not an officially supported cPanel customization and is served as a workaround and has not been thoroughly tested.
- Navigate to WHM » Service Configuration » Exim Configuration manager
- Click Advanced Editor
- Scroll down to the rewrite section
- Add the rewrite to the top of the REWRITE section.
Rewrite rules use the following syntax:
<source pattern> <replacement> <flags>
To rewrite the notification email, you add the following replacing host.domain.tld and cpanelrewrite@domain.tld with your desired email addresses :
cpanel@host.domain.tld cpanelrewrite@domain.tld Ffrs
Rewriting all emails from cpanel@host.domain.tld to cpanelrewrite@domain.tld and rewriting all envelope From, From, Reply-To, and Sender headers.