This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

VPS or Dedicated Hosting - Configure the Default Sender Address

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,

  1. Log in to WHM.
  2. Click on the Service Configuration icon.
  3. Click PHP Configuration Editor.
  4. Select Advanced Mode.
  5. In the Mail section, modify the sendmail_path value.
  6. 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'
  7. Click Save.
Knowledgebase Article 76,666 views bookmark tags: default sender whm


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to set the default sender address, on a Dedicated Hosting account.
Knowledgebase Article 136,800 views tags: mail php whm

How do I change my contract length?
Knowledgebase Article 230,546 views tags: change contract hosting length package payment

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.
Knowledgebase Article 33,674 views tags: backup cpanel dedicated hosting restore server transfer vps

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.
Knowledgebase Article 26,589 views tags: configserver csf dedicated firewall security vps

How to assign a dedicated IP to a domain on a dedicated server.
Knowledgebase Article 169,751 views tags: dedicated ip

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.
Knowledgebase Article 74,013 views tags: dedicated email prevent spf spoof spoofing vps

Prices for Dedicated Hosting and Dedicated related addons
Knowledgebase Article 291,031 views tags: dedicated faq price

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.
Knowledgebase Article 34,085 views tags: centos cpanel dedicated hosting private server upgrade virtual vps

This article will explain how to configure your dedicated or VPS server to use the new (non legacy) backup system.
Knowledgebase Article 61,839 views tags: backup dedi dedicated vps

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.

I am having problems with being spammed. I believe that my email address has been harvested (taken off my site and sold to spammers). Can I hide my email address, but still have people email me?
Knowledgebase Article 190,470 views tags: address bots email hiding porn spam spammers spiders

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.