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 email@example.com ?
Tip: You need to get emails coming to root@hostname or firstname.lastname@example.org to purchase an SSL certificate for hostname of WHM.
There is no direct option to get emails coming to root@hostname or email@example.com, however it is pretty easy to get it.
Steps to get emails coming to root@hostname or firstname.lastname@example.org 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 email@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 firstname.lastname@example.org 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.