How to get emails to root@hostname or root@lnx01.example.com in a cpanel/WHM server


cpanel/WHM will not allow to create a cpanel account with same name as that of hostname. If you try, you will get following error message.

 

 

Now, what could be done if you need to receive an email to root@hostname or root@lnx01.example.com ?

 

Tip: You need to get emails coming to root@hostname or root@lnx01.example.com to purchase an SSL certificate for hostname of WHM.

 

There is no direct option to get emails coming to root@hostname or root@lnx01.example.com, however it is pretty easy to get it.

 

Steps to get emails coming to root@hostname or root@lnx01.example.com in cpanel/WHM server

1. Login to WHM

2. Go to "Edit System Mail Preferences"

 

 

3. Here, we can see option to forward email of root@hostname or root@lnx01.example.com to any other email address of your choice as shown below.

 

 

Tip: It is also recommended to foward "cpanel's mail" also to a valid email address.

 

4. Now, there is a final step, we need to configure an MX record for hostname.

 

DNS can be edited from DNS zone of the main domain of hostname(Eg: example.com here) as shown below.

 

I : Go to "Edit DNS Zone"

 

II: Choose example.com zone

III: Setup an MX record as shown below.

 

Tip: There is a "." at the end of lnx01.example.com in both boxes :)

 

5. Now, you can receive emails to root@lnx01.example.com in the email address set in "System Mail Preferences" as root email

 

Tips: In a cpanel server, root will receive emails addressing following users as well.

postmaster@hostname, webmaster@hostname, abuse@hostname, hostmaster@hostname.

For a full list of users whom email are forwarded to root, please check /etc/aliases file in cpanel server.

Last update:
2015-09-22 20:55
Author:
Bytehouse Technical Support
Revision:
1.11
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Most popular FAQs RSS

  1. I require an additional IPv4 address. What is Bytehouse's ... (88217 views)
  2. The Most Common Problems When Migrating Websites (67094 views)
  3. How do I create a 301 redirect? (55457 views)
  4. Can I Backup Exchange 2010 with My Online Backup ... (53510 views)
  5. Steps to Add Administrator User for Windows Server (49001 views)

Latest FAQs RSS

  1. Steps to set/customize log rotation from plesk (2016-07-25 07:15)
  2. Generate a self-signed SSL certificate - Nginx,CentOS (2016-07-07 02:31)
  3. Procedure re-register Volume Shadow Copy Service(VSS) in a Windows ... (2016-07-05 04:18)
  4. Steps to Install Mcrypt in Plesk (2016-07-01 17:11)
  5. How to Retrieve a Plesk Password in Linux and ... (2016-07-01 17:09)

Regular new KB articles

Check back from time to time for new articles, or if you have any suggestions please feel free to recommend

top