By default, the server's automated messages will be sent from the user at the server (i.e. user@server.com). To customize the default sender address,
- Log in to WHM.
- Click on the Service Configuration icon.
- Click PHP Configuration Editor.
- Select Advanced Mode.
- In the Mail section, modify the sendmail_path value.
For example, if you want your default sender address to be john@example.com, modify the value to be: /usr/sbin/sendmail −t −I −f 'john@example.com'
- Click Save.
Recommended Help Content
How to set the default sender address, on a Dedicated Hosting account.
Knowledgebase Article

172,121 views

tags:
mail php whm
How do I change my contract length?
If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
Related Help Content
CSF is a firewall for VPS and Dedicated servers. CSF is not installed as part of our default images on VPS or Dedicated servers. This article describes how to install it yourself or request support do so.
This article will explain how-to enable FTP on a newly provisioned VPS or Dedicated cPanel server. Since FTP is an unsecured connection point to the server, cPanel has it disabled by default in version 11.86 or prior.
How to assign a dedicated IP to a domain on a dedicated server.
Sender Policy Framework records, or SPF records are a type of DNS record used to identify which mail servers should be allowed to send email from a certain domain name.
Prices for Dedicated Hosting and Dedicated related addons
VPS and Dedicated customers with servers running the CentOS 6 operating system will not be able to upgrade cPanel past version 86. The cPanel team will still support CentOS 6 with cPanel 86 until March 31st, 2021.
This article will explain how to configure your dedicated or VPS server to use the new (non legacy) backup system.
VPS and Dedicated servers come with all applications necessary to run a standard web and email server. The applications that come with the VPS and Dedicated servers are generally supported as-is by our support technicians.